Data editing > Writing out data > Writing to a report file > Real variables
 
Real variables
Quick reference
To print the value of a real variable, type:
var_name[:field_width.dec_places]
field_width is the width of the field in which the values are to be printed (values are right-justified and padded on the left with blanks if necessary).
dec_places is the number of decimal places to be shown for each number.
If you omit these parameters, Quantum prints the values starting in the first available print position and with six decimal places.
More information
You can control the layout by defining a field width and the number of decimal places required. For example, by typing:
report rfil cost:6.2
you can create a column of figures all with two decimal places and all right-justified in a field six characters wide.
See also
Writing to a report file