.nr

Top  Previous  Next

This is a scientific format toggle.  It's use allows one to vary the contents of the puts with respect to the formatting of numeric values in terms of use of scientific notation (E format) as opposed to GAMS choice or fixed decimal place format (F).  It is addressed using the syntax

 

Localfileidentifier.nr=number;

 

The potential entries for number and the result are

0entries displayed in F or E format
1numbers rounded to fit fields
2all numbers displayed in scientific notation (E format)
3numbers with floating decimal and constant precision