Floor

The Floor() function rounds down to the closest integral number (integer number without decimals) smaller than or equal to the given number.

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.

Syntax

Floor(number)

Floor(5.999999999) => 5

Floor() => Invalid expression

Parameters

Examples

Last updated