Read Me - Common Public License V1.0 - Copyright Notice(©)

ceiling


>>-ceiling-----------------------------------------------------><

Returns the largest integer not less than the receiving string. The receiving string is first rounded according to standard Rexx rules, as though the operation receiving_string+0 had been carried out. The ceiling is then calculated and returned. The result is never in exponential form. If there are no nonzero digits in the result, any minus sign is removed.

String class - ceiling method

2~ceiling             ->    2
'-2'~ceiling          ->    -2
12.3~ceiling          ->    13
'-12.3'~ceiling       ->    -12

Note

The [number] is rounded according to the current setting of NUMERIC DIGITS if necessary, before the method processes it.

Read Me - Common Public License V1.0 - Copyright Notice(©)