function:FLOOR
**This is an old revision of the document!**
Table of Contents
FLOOR Function
The FLOOR(x) function takes a number and returns the first integer that is less than or equal to the argument:
FLOOR(5.5) === FLOOR(5.1) === FLOOR(5) === 5 FLOOR(-5.5) === FLOOR(-5.1) === FLOOR(-6) === -6
The FLOOR() function (v11.0+) takes a second optional parameter to indicate the number of decimal digits to operate to:
FLOOR(5.6789,2) === 5.68 FLOOR(-5.6789,2) === -5.68
See Also
Functions
function/FLOOR.1695199189.txt.gz · Last modified: by peternlewis
