Floating-point data

A floating-point value is a large decimal value that is stored in a fixed field width. Because the field width is fixed, a floating-point number that is larger than the field width only retains its most significant digits. That is, digits that do not fit into the fixed width are dropped (rounded or truncated).

The DataBlade® API provides support for the following floating-point data, which correspond to existing SQL data types.
Table 1. DataBlade API support for floating-point data
Type of floating-point value SQL data type
Decimal DECIMAL(p)
True floating-point SMALLFLOAT, FLOAT

These floating-point values have both text and binary representations.