Floor()
Gives the largest previous whole number not greater than itself for the specified number. This function takes an integer or number value as an argument and returns a number value.
Syntax
Floor(<value>)
Input
value
integer, null
The integer or number to find the floor value of.
Output
number
Examples
- The expression Floor(2) returns
2.0
. - The expression Floor(2.1) returns
2.0
. - The expression Floor(-2) returns
-2.0
. - The expression Floor(-2.1) returns
-3.0
.