Search

Download this Manual
PDF (US Ltr) - 43.3Mb
PDF (A4) - 43.4Mb
Man Pages (TGZ) - 296.5Kb
Man Pages (Zip) - 401.9Kb
Info (Gzip) - 4.3Mb
Info (Zip) - 4.3Mb


Displaying 1 to 10 of 66 total results
https://dev.mysql.com/doc/refman/8.0/en/floating-point-types.html
The FLOAT and DOUBLE types represent approximate numeric data values. For FLOAT, the SQL standard permits an optional specification of the precision (but not the range of the exponent) in bits following the keyword FLOAT in parentheses, that is, ...
https://dev.mysql.com/doc/refman/8.0/en/problems-with-float.html
Floating-point numbers sometimes cause confusion because they are approximate and not stored as exact values. A floating-point value as written in an SQL statement may not be the same as the value represented internally. Attempts to treat ...For ...
https://dev.mysql.com/doc/refman/8.0/en/numeric-type-syntax.html
For floating-point and fixed-point data types, M is the total number of digits that can be stored. As of MySQL 8.0.17, the UNSIGNED attribute is deprecated for columns of type FLOAT, DOUBLE, and DECIMAL (and any synonyms); you should expect support ... For integer data types, M indicates the minimum display ...
https://dev.mysql.com/doc/refman/8.0/en/type-conversion.html
The arguments are compared as decimal values if the other argument is a decimal or integer value, or as floating-point values if the other argument is a floating-point value. In all other cases, the arguments are compared as floating-point ... When ...
https://dev.mysql.com/doc/refman/8.0/en/replication-features-floatvalues.html
Because conversions between decimal and binary representations of them may be approximate, comparisons involving floating-point values are inexact. This is true for operations that use floating-point values explicitly, or that use values that are ...
https://dev.mysql.com/doc/refman/8.0/en/cast-functions.html
FLOAT[(p)] If the precision p is not specified, produces a result of type FLOAT. If p is provided and 0 <= < p <= 24, the result is of type FLOAT. This is actually FLOAT if the REAL_AS_FLOAT SQL mode is enabled; otherwise the result is of type ...
https://dev.mysql.com/doc/refman/8.0/en/mathematical-functions.html
For string or floating-point arguments, the return value has a floating-point type. For string or floating-point arguments, the return value has a floating-point type. mysql> SELECT RADIANS(90); -> 1.5707963267949 RAND([N]) Returns a random ...
https://dev.mysql.com/doc/refman/8.0/en/mysql-nutshell.html
The functions CAST() and CONVERT() now support conversions to types DOUBLE, FLOAT, and REAL. Such implicit casts are now performed between temporal types (DATE, DATETIME, TIMESTAMP, TIME) and numeric types (SMALLINT, TINYINT, MEDIUMINT, INT/INTEGER, ... This section summarizes what has been added to, deprecated in, and removed from MySQL ...
https://dev.mysql.com/doc/refman/8.0/en/precision-math-examples.html
The floating-point calculation introduces small errors: +--------+------------------+ | d | f | +--------+------------------+ | 1.0000 | 0.99999999999991 | +--------+------------------+ Example 2. Consider these statements: mysql> CREATE TABLE t (i ... This section provides some examples that show precision math query results in ...
https://dev.mysql.com/doc/refman/8.0/en/number-literals.html
Number literals include exact-value (integer and DECIMAL) literals and approximate-value (floating-point) literals. For example, 2.34 is an exact-value (fixed-point) number, whereas 2.34E0 is an approximate-value (floating-point) number. The FLOAT ...Numbers may be preceded by - or + to indicate a negative or positive value, ...
Displaying 1 to 10 of 66 total results