Book Contents

Book Index

Next Topic

Home

CEILING (CEIL)

CEIL returns the smallest integer not less than then argument. The return data type is the same as the argument.

Syntax

CEILING ( expression )

CEIL ( expression )

Semantics

 

expression

is a value of type INTEGER or DOUBLE PRECISION

Examples

CEIL(-42.8)

Result: -42