Syntax
| Parameter | Description |
|---|---|
| number | Parameter of the FLOOR.MATH function. |
| [significance] | (Optional.) Parameter of the FLOOR.MATH function. |
| [mode] | (Optional.) Parameter of the FLOOR.MATH function. |
Examples
Round down to integer
=FLOOR.MATH(5.7)
Negative number, default mode
=FLOOR.MATH(-4.3, 2)
Negative number, toward zero
=FLOOR.MATH(-4.3, 2, 1)
Common Errors
Non-numeric arguments produce this error. All parameters must be numbers.
A significance of 0 causes #DIV/0! since it would require dividing by zero.
Tips
FLOOR.MATH doesn't error on mixed-sign arguments like FLOOR does. Use it as your default floor-rounding function.
The mode parameter is ignored for positive numbers. It only changes behavior when the number is negative.
If you omit the significance, it defaults to 1, making FLOOR.MATH(x) equivalent to INT(x) for positive numbers.
Try FLOOR.MATH in Viztab
Import your data and use FLOOR.MATH with 370+ other formulas. No signup required.
Open Viztab