Applies from Version: | WEBcnx 2024.1 | Applies to Version: |
Description
Rounds a number down to the nearest integer.
Syntax
INT(number)
The INT function has the following arguments:
- Number Required. The number you want to round down to an integer.
Returns
A whole number
Examples
Expression | Description | Result |
---|---|---|
INT(8.9) | Rounds 8.9 down | 8 |
INT(-8.9) | Rounds -8.9 down. Rounding a negative number down rounds it away from 0 | -9 |
NUM1 - INT(NUM1) | Returns the decimal part of a positive number in NUM1 where NUM1 is 1.5 | 0.5 |