Floor()
Calculates the closest integer that is smaller than number.
Floor( number=number );
Returns: Number
Examples
dump(floor(2.0));//2
dump(floor(7.2));//7
dump(floor(4.9));//4
dump(floor(-5.7));//-6
See also
- Numbers
- numeric.floor()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)