getid3_lib::trunc

SummerySummery

Truncates a floating-point number at the decimal point.

Syntax

getid3_lib::trunc( float $floatnumber )

ParametersParameters

$floatnumber

(float) (Required)

ReturnReturn

(float|int) returns int (if possible, otherwise float)

SourceSource

File: wp-includes/ID3/getid3.lib.php


			
Scroll to Top