Skip to main content

INT

Rounds a number down to the nearest integer (toward negative infinity).

CategoryMath
SyntaxINT(number)

Parameters

ParameterRequiredDescription
numberRequiredThe 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.