Returns the nearest real value whose magnitude is not larger than x. If x is less than 0, returns CEIL; otherwise, returns FLOOR of x.
Format
INT(x)
Argument
x | Any valid expression that evaluates to a real number. |
Examples
The following examples illustrate the use of the INT function:
Function | Result |
INT(4.8) | 4.0 |
INT (.38) | 0.0 |
INT (-3.9) | -3.0 |