Syntax
=FLOOR.MATH(number, [significance], [mode])Arguments
| Argument | Required | Description |
|---|---|---|
number | Required | The number to round |
significance | Optional | The multiple to round to (1 when left out) |
mode | Optional | For negative numbers, non zero rounds toward zero |
How to use FLOOR.MATH
FLOOR.MATH takes 1 required argument and 2 optional arguments. Type =FLOOR.MATH( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.
Examples
Each result below was calculated by the SheetsBat formula engine.
=FLOOR.MATH(24.3, 5)Result =FLOOR.MATH(-8.1, 2)Result =FLOOR.MATH(-5.5, 2, -1)Result Related math functions
- EXPReturns e raised to the power of a number.
- FACTReturns the factorial of a number (1*2*3*...*number).
- FACTDOUBLEReturns the double factorial of a number (every other integer multiplied down to 1 or 2).
- FLOORRounds a number down to the nearest multiple of significance.
- FLOOR.PRECISERounds a number down to the nearest multiple, whatever the sign of the number or significance.
- GCDReturns the greatest common divisor of whole numbers.
- INTRounds a number down to the nearest integer.
- ISO.CEILINGRounds a number up to the nearest multiple, whatever the sign of the number or significance.
- LCMReturns the least common multiple of whole numbers.