ceiling

Returns the smallest integer greater than or equal to x.

Syntax

ceiling(x)

Parameters

x can be any of the following data types:
long, money, or double.

Examples

  • ceiling(1.4) = 2
  • ceiling(1.6) = 2
  • ceiling(-1.4) = -1
  • ceiling(-1.6) = -1

Related links

Was this helpful?

How can we improve it?

Need more help?

Try these next steps:

true
Search
Clear search
Close search
Google apps
Main menu
14572562585831735455
true
Search Help Center
true
true
true
true
true
5055977
false
false