variant_fix

Example

 mixed variant_fix ( 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.