The REAL type is used to contain floating-point, or scientific notation, numbers in the range 10-70 to 1070.
(Optional) Plus or minus sign.
(Optional) Any number of digits.
(Optional) Decimal place.
(Optional) Any number of digits.
(Optional) Signed exponent power of 10.
Range: -99 to 99
Either, or both, nnnnnn and mmmmmm are present, and the resulting REAL number is within the allowable range.
Examples: External Form - Input
14578923455096765442839404 -123.567 .555 .0023E-23 3.142776589E+66
Normalized decimal real number.
Plus or minus sign of the value.
Decimal place indicator.
15 significant fraction digits.
Signed exponent power of 10.
Examples: External Form - Output
+.314277658900000E-10 -.123456789000000E+52
For IBM mainframes, local form is a 64-bit long floating-point value, and the component must be at least 8 bytes in length. Truncation is not allowed, but if the component has a fixed length greater than 8 bytes the value is left-aligned and padded on the right with zero bytes.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |