Enform Plus Reference Manual
Clauses
Enform Plus Reference Manual—422684-001
5-14
Nonrepeatable Edit Descriptors
•
Scale factor edit descriptor
•
Optional plus sign edit descriptor
Scale Factor Edit Descriptor
The scale factor edit descriptor specifies a scale of 10**n for a fixed-point (F) number.
The value printed equals the internally represented number multiplied by 10**n. The
syntax is:
n
is the exponent for the scale factor (10**n).
P
is the implied decimal point of the number.
The following examples show the effect of the scale factor edit descriptor:
Format Item Value Printed Item
------ ---------- ------------
"2P F10.2" 100.00 10000.00
"-2P F10.2" 100.00 1.00
Optional Plus Sign Edit Descriptor
The optional plus sign edit descriptors are used to control the printing of a plus (+) sign.
The syntax is:
S or SS
specifies that no plus sign is to be printed.
SP
specifies that a plus sign is to be printed.
When an object-item or by-item with a positive value is printed, Enform Plus
does not normally precede the value with a plus (+) sign. Specify SP when you want
Enform Plus to precede a value with an optional plus sign.
nP
{ S }
{ SS }
{ SP }