PHP.nl

variant_fix

variant_fix

Returns the integer portion of a variant

variant **variant_fix** mixed $value

Gets the integer portion of a variant.

valueThe variant.

If 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 . value``value

Throws a on failure. com_exception

variant_int``variant_round``floor``ceil``round