Syntax
=FLOOR(number, significance)Arguments
| Argument | Required | Description |
|---|---|---|
number | Required | The number to round |
significance | Required | The multiple to round to |
How to use FLOOR
FLOOR takes 2 required arguments. Type =FLOOR( 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(3.7, 2)Result =FLOOR(-2.5, -2)Result =FLOOR(2.5, -2)Result =FLOOR(1.58, 0.1)Result Related math functions
- EVENRounds a number away from zero to the nearest even integer.
- 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).
- FLOOR.MATHRounds a number down to the nearest integer or multiple; mode chooses the direction for negative numbers.
- 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.