variant_int

Example

 mixed variant_int ( mixed $variant ) 

Description

Gets the integer portion of a variant.

Return Values

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.