Icon Ceil

Unit: Internal

Available In: Client and Server Applications

function Ceil(Value: Double): Integer

function Ceil(Value: Integer): Integer

The Ceil function returns the closest integer that is greater than or equal to the value of the input parameter. The return value is an Integer.

Examples

X := Ceil(-10.4);  // X is -10
X := Ceil(15.98);  // X is 16
Image