Що таке float у SQL?

Syntax. float [(n)] Where n is number of bits that are used to store the mantissa of the float number in scientific notation and, therefore, dictates the precision and storage size. Якщо він визначений, він повинен бути відповідно між 1 і 53. Значна величина n is 53.

SQL Standard має три floating point, approximate data types, REAL , DOUBLE PRECISION and FLOAT(n) . SQL Server сформулює цей висновок, що це не DOUBLE PRECISION datatype, використовуючи FLOAT(53) instead.

The REAL data type is approximate number with floating point numeric data. REAL value is approximate which means не all range of values ​​can be represented exactly. REAL is equivalent to FLOAT(24).