variant_int
variant_int
Returns the integer portion of a variant
variant **variant_int** mixed $value
Gets the integer portion of a variant.
valueThe variant.
If is negative, then the first negative
integer less 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_fix``variant_round``floor``ceil``round