The float format consists of two parts:
The value of a floating-point field is the result of multiplying the mantissa by 10 raised to the power of the exponent. For example, if 1.2345 is the mantissa and 5 is the exponent then the value of the floating-point field is:
1.2345 * (10 ** 5) = 123450
You define a floating-point field by specifying F in the data type entry of the appropriate specification.
The decimal positions must be left blank. However, floating-point fields are considered to have decimal positions. As a result, float variables may not be used in any place where a numeric value without decimal places is required, such as an array index, do loop index, etc.
The default initialization and CLEAR value for a floating point field is 0E0.
The length of a floating point field is defined in terms of the number of bytes. It must be specified as either 4 or 8 bytes. The range of values allowed for a floating-point field are: