Int()
Calculates the closest integer that is smaller than number.
Int( number=number );
Returns: Number
Examples
writeDump(int(7.0));//7
writeDump(int(6.9));//6
writeDump(int(-2.9));//-3
See also
- Numbers
- numeric.int()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)