Gets the largest whole number less than or equal to a number.
Int ( n )
Argument |
Description |
---|---|
n |
The number for which you want the largest whole number that is less than or equal to it |
The datatype of n. Returns the largest whole number less than or equal to n.
These expressions return 3.0:
Int(3.2) Int(3.8)
These expressions return -4.0:
Int(-3.2) Int(-3.8)