variant_int()
variant_int - Returns the integer portion of a variant
Syntax
mixed variant_int (
mixed $variant)
Arguments
Description
Gets the integer portion of a variant.
Version
PHP 5
Return value
If variant is negative, then the first negative integer greater than or equal to the variant is returned, otherwise returns the integer portion of the value of variant.