SMALLFLOAT

The SMALLFLOAT data type stores values as single-precision floating-point binary numbers with up to 8 significant digits.

Syntax

SMALLFLOAT
  1. SMALLFLOAT and REAL are synonyms.

Usage

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.

SMALLFLOAT values can be converted to strings according to the DBMONEY environment variable (defines the decimal separator).

This data type it is not recommended for exact decimal storage; use the DECIMAL data type instead.