HP 3000 Manuals

CEIL [ HP Business BASIC/XL Reference Manual ] MPE/iX 5.0 Documentation


HP Business BASIC/XL Reference Manual

CEIL 

The CEIL function returns the smallest integral number that is greater
than or equal to the specified number.  This function returns a value
that is the same type as the argument.

Syntax 

CEIL(n)

Parameters 

n                The number to be evaluated.  This can be of any numeric
                 type.

Examples 

     10  A = CEIL(3.7)     !A = 4
     20  B = CEIL(-3.7)    !B = -3



MPE/iX 5.0 Documentation