INT
Rounds a number down to the nearest integer (toward negative infinity).
| Category | Math |
| Syntax | INT(number) |
Parameters
| Parameter | Required | Description |
|---|---|---|
number | Required | The real number you want to round down to an integer. |
Example
INT(3.7) // → 3
INT(-2.1) // → -3
Auto-generated from the EngCanvas function registry.