mixed variant_fix ( mixed $variant )
Gets the integer portion of a variant.
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.