The
CEIL function returns the closest integer greater than or equal to its argument. This value is returned as a longword integer with the same structure as the input argument.

Calling Sequence

Result = CEIL(
X
)

Arguments

X

The value for which the ceiling function is to be evaluated. This value can be single- or double-precision, real or complex floating-point. CEIL returns a longword integer with the same structure as
X
.