Names and aliases
Syntax
A constant value of typeFLOAT can be entered as a numeric literal. For example: 1.414 or -1234.
The special IEEE754 values for positive infinity, negative infinity and NaN (Not-a-Number) cannot be entered using numeric literals directly and must be converted using an interpreted literal or an explicit conversion from a string literal instead.
The following values are recognized:
For example:
FLOAT '+Inf''-Inf'::FLOATCAST('NaN' AS FLOAT)
Size
AFLOAT column supports values up to 8 bytes in width, but the total storage size is likely to be larger due to CockroachDB metadata.
Examples
Supported casting and conversion
FLOAT values can be cast to any of the following data types:

