SQL Reference

CEILING or CEIL

>>--+-CEILING-+---(--expression--)-----------------------------><
    '-CEIL----'
 

The schema is SYSFUN.

Returns the smallest integer value greater than or equal to the argument.

The argument can be of any built-in numeric type. If the argument is of type DECIMAL or REAL, it is converted to a double-precision floating-point number for processing by the function. If the argument is of type SMALLINT or INTEGER, the argument value is returned.

The result of the function is:

The result can be null; if the argument is null, the result is the null value.


[ Top of Page | Previous Page | Next Page ]