ESQL FLOAT data type

The FLOAT data type holds a 64-bit exponent approximation of a real number. Float literals are defined using scientific notation, for example 6.6260755e-34

e identifies the exponent of the number (10 to the power of). The case of the e is not significant so you can use E if you prefer.

Start of change

Rounding

When you CAST a FLOAT to an INTEGER, either implicitly or explicitly, the FLOAT is truncated; that is, the numbers after the decimal point are removed and no rounding occurs.

End of change