Consider the following REXX instruction:
SAY 1 / 6

REXX calculates the value of 1 / 6 and displays 0.166666667. You should notice that the value of 1/6 is given (ie, rounded) to nine significant figures. You can easily change this using the NUMERIC DIGITS instruction (prior to the SAY instruction). For example:

NUMERIC DIGITS 25
SAY 1 / 6
The above NUMERIC DIGITS instruction tells REXX that you wish any mathematical expressions to be calculated out to 25 significant digits. You can substitute 25 for however many significant digits you desire. In this way, you can calculate numbers to whatever accuracy you require, within the limits of the computer.

So, whenever REXX uses a numeric string, rounding may occur to the precision specified by the NUMERIC DIGITS setting.

Note: By default, NUMERIC DIGITS is set to 9. Reginald allows changing this default setting via the REXX Administration Tool.