# System Parameters

'RN'= | Rounding Control

## Description

Controls when and how rounding will occur. The valid values for 'RN' below are additive:

1 | Only applies to LET assignments
2 | On any Add, Subtract
4 | On any Multiply, Divide, Power, or Modulus
8 | On any math function (i.e. SIN( ), COS( ), LOG( ), etc.)
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

## Default

'RN'=1 (Only applies to LET assignments)

## See Also

'NR' No Intermediate Rounding on Division
'RS' Round STR( ), Formatting and Functions

## Example

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.)