Lucee object methods reference

Object Method Numeric.int

Returns the largest integer less than or equal to the given number (floor).
For negative numbers, this rounds away from zero (e.g., int(-1.7) returns -2).
The result is not limited to a 32-bit integer range and can handle large values such as epoch timestamps.
Numeric.int():number

Category

number

Arguments

This function has no arguments