The default is a normalized decimal real number:
(plus or minus sign of the value, followed by)
(decimal place indicator, followed by)
(15 significant fraction digits, followed by)
(signed exponent power of 10)
Examples:
+.314277658900000E-10 -.123456789000000E+52
A compiler directive is available to specify how a REAL type is to be presented externally. For example:
x REAL --< EF(3,5)>--
The above directive gives an external form for the number +.314277658900000E-10 as 3.14277.
This has three digits before the decimal point, (including two blanks) and five digits after the decimal point.
Space padding occurs on the left if required, and zero padding occurs on the right. No truncation takes place. The external form expands to allow all of the digits that precede the decimal point in a real number to be represented in full.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |