This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
function:FLOOR [2023/09/20 00:16] peternlewis |
function:FLOOR [2023/09/20 04:41] peternlewis |
||
---|---|---|---|
Line 5: | Line 5: | ||
FLOOR(5.5) === FLOOR(5.1) === FLOOR(5) === 5 | FLOOR(5.5) === FLOOR(5.1) === FLOOR(5) === 5 | ||
FLOOR(-5.5) === FLOOR(-5.1) === FLOOR(-6) === -6 | 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.67 | ||
+ | FLOOR(-5.6789,2) === -5.68 | ||
===== See Also ===== | ===== See Also ===== |