Language basics / Data types |
The FLOAT data type stores values as double-precision floating-point binary numbers with up to 16 significant digits.
FLOAT [(precision)]
The storage of FLOAT variables is based on 8 bytes of signed data ( =64 bits), this type is equivalent to the double data type in C.
FLOAT variables are initialized to zero in functions, modules and globals.
SMALLMONEY values can be converted to strings according to the DBFORMAT (or DBMONEY) environment variable.
Data type conversion can be controlled by catching the runtime exceptions. For more details, see Handling type conversion errors.