The Floor() function rounds down to the closest integral number (integer number without decimals) smaller than or equal to the given number.
Floor()
This function is NOT SQL compatible. For more information about SQL compatibility, see our documentation.
Returns the closest integral value that is smaller than or equal to number. Returns Invalid expression if the parameter is not a valid number.
number
Invalid expression
This function uses 32-bit Integers, therefore the range of valid parameters is
-2147483648 and +2147483648
Floor(
)
Floor(5.999999999) => 5
Floor(5.999999999)
Floor() => Invalid expression
numeric
☑️
a numeric value.
Floor(5)
5
Floor(5.999)
Floor(-123.89)
-124
Last updated 9 months ago
Was this helpful?