'RN'= |
Rounding Control |
Controls when and how rounding will occur. The valid values for 'RN' below are additive:
1 |
On any assignment |
2 |
On any Add, Subtract |
4 |
On any Multiply, Divide, Power, or Modulus |
8 |
|
64 |
On all intermediate values in an expression |
128 |
Before any numeric data is written to file |
256 |
At the end of any expression |
512 |
Before all numeric compares |
'RN'=1 (on any assignment)
'RS' Round STR( ), Formatting and Functions
The statement SET_PARAM 'RN'=644 sets the parameter to round on any multiply or divide + with a WRITE directive + on all compares. (The sum of 4+128+512 is 644.)