Guardian Procedure Calls Reference Manual
On input, the G edit descriptor is the same as the E edit descriptor. The method of representation
in the output field depends on the magnitude of the data being processed, as follows:
Equivalent Conversion EffectedLess ThanMagnitude of Data Not Less Than
Ew.d or Ew.dEe0.1
F(w-n).d,n(' ')1.00.1
F(w-n).(d-1),n(' ')10.01.0
F(w-n).(d-2),n(' ')100.010.0
...
...
...
F(w-n).1,n(' ')10 ** (d-1)10 ** (d-2)
F(w-n.0,n(' ')10 ** d10 ** (d-1)
Ew.d or Ew.dEe10 ** d
The value of n is 4 for Gw. d format and (e+2) for Gw. dEe format. The n(‘ ') used in the above
example indicates nth number of blanks. If the F form is chosen, then the scale factor is ignored.
This comparison between F formatting and G formatting is given by way of illustration:
GF
G13.6 ConversionF13.6 ConversionValue
| 0.123457E-01|| 0.012346 | . 01234567
| 0.123457 || 0.123457 | . 12345678
| 1.23457 || 1.234568 | 1.23456789
| 12.3457 || 12.345679 | 12.34567890
| 123.457 || 123.456789 | 123.45678900
| 1234.57 || 1234.567890 | 1234.56789000
| 12345.7 || 12345.678900| 12345.67890000
| 123457. ||123456.789000| 123456.78900000
| 0.123457E+07||*************|1234567.89000000
When an overflow condition occurs in a numeric field, the field is filled with asterisks (in the absence
of any specification to the contrary by an overflow decoration), as shown above.
The "|" character is used to denote the boundaries of the output field.
NOTE: To use the G edit descriptor for output, floating-point firmware is required.
The I Edit Descriptor
The integer edit descriptor is used to display or interpret data values in an integer form.
The I edit descriptor has these forms:
Iw.m.bORIw.mORIw
an unsigned integer constant that defines the total field width and cannot exceed 255. The field processed
is the w characters starting at the current position. After the field is processed, the current position is advanced
by w characters..
w
1560 Formatter Edit Descriptors