The Ceiling() function rounds a number up to an integral value (integer number without decimals) larger than or equal to the given number.
Ceiling()
This function is NOT SQL compatible. For more information about SQL compatibility, see our documentation.
Returns the closest integral value that is larger 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
Ceiling(
)
Ceiling(123.4567) => 124
Ceiling(123.4567)
Ceiling(unknownnumber) => Invalid expression
Ceiling(unknownnumber)
numeric
☑️
a number
Ceiling(5)
5
Ceiling(5.0001)
6
Ceiling(123.123)
124
Ceiling(-123.89)
-123
Last updated 10 months ago
Was this helpful?