round >>-round------------------------------------------------------>< Returns the nearest to the receiving string.
The receiving string is first rounded according
to standard Rexx rules, as though the operation
String class - round method 2~round -> 2 '-2'~round -> -2 2.4~round -> 2 '-2.4'~round -> -2 2.5~round -> 3 '-2.5'~round -> -3 Note The [number] is rounded according to the current setting of NUMERIC DIGITS if necessary, before the method processes it. |