The Floor()
function rounds to the closest integral number smaller than or equal to the given number.
Syntax
Floor(number)
Returns
The closest integral number that is smaller than or equal to number
.
Parameters
number
– a numeric value.
Examples
Floor(3.14) /* 3 */
Floor(5) /* 5 */
Floor(-1.5) /* -2 */