Skip to main content

REAL

REAL[n]

An n-byte standard IEEE floating point value. Valid values for n are: 4 (values to 7 significant digits) or 8 (values to 15 significant digits). If n is omitted, REAL is a double-precision floating-point value (8-bytes).

REAL Value Ranges

Type Significant Digits Largest Value Smallest Value

Type    Significant Digits     Largest Value   Smallest Value
REAL4    7 (9999999)           3.402823e+038   1.175494e-038
REAL8   15 (999999999999999)   1.797693e+308   2.225074e-308

Example:

REAL4 MyValue := MAP(MyString = '1.0' => MyString, '0');
          // MyValue becomes either 1.0 or 0