Language basics / Data types |
The SMALLFLOAT data type stores values as single-precision floating-point binary numbers with up to 8 significant digits.
SMALLFLOAT
The storage of SMALLFLOAT variables is based on 4 bytes of signed data ( =32 bits), this type is equivalent to the float data type in C.SMALLFLOAT 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.