ReferenceFunctionsMath Functions
FLOOR
FLOOR: Rounds a number down to the nearest multiple of a significance.
Summary
This implementation defaults significance to 1 and normalizes negative significance to positive.
Remarks
- If
significanceis omitted,1is used. significance = 0returns#DIV/0!.- Negative significance is treated as its absolute value in this fallback behavior.
Examples
Round down to the nearest multiple
Grid
| Cell | Value | |
|---|---|---|
| No inputs on Sheet1. | ||
Formula
=
Result
Not evaluated yet.
Expected
4
Round a negative number to a lower multiple
Grid
| Cell | Value | |
|---|---|---|
| No inputs on Sheet1. | ||
Formula
=
Result
Not evaluated yet.
Expected
-6
Related functions
FAQ
Why does FLOOR move negative values farther from zero?
FLOOR rounds down to a lower multiple, which is more negative for negative inputs.
Runtime metadata
Category
Math
Signature
FLOOR(arg1: Number, arg2…: Number)Arity
min 1, max variadic
Arguments
arg1Number · Scalar · coercion NumberLenientText
arg2Number · Scalar · coercion NumberLenientText
Caps
PURE
Source