Floor

circle-info

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.

circle-check
circle-exclamation

Syntax

chevron-rightFloor(number)hashtag

Floor(5.999999999) => 5

Floor() => Invalid expression

Parameters

Name
Type
Required
Description

number

numeric

☑️

a numeric value.

Examples

Function call
Result

Floor(5)

5

Floor(5.999)

5

Floor(-123.89)

-124

Last updated

Was this helpful?