INT
A number as a whole number.
Syntax
INT(x)
| Argument | Meaning |
|---|---|
| x | A number. |
Result
A whole number.
Examples
In the example drawing:
| Expression | Gives |
|---|---|
INT(2.6) |
3 |
INT(-2.6) |
-3 |
INT(5/2) |
2 |
Notes
The number is rounded to the nearest whole number (half way to the even one). A fraction is rounded the same way
(INT(5/2) is 2); feet and inches are taken in the drawing's units first, as DOUBLE gives
them.