manual.texi NUMERIC(M,D) arguments are optional.

manual.texi	DEC is also a synonym for DECIMAL.
parent 495e24a4
...@@ -28495,7 +28495,7 @@ In MySQL Version 3.23, this is a true floating-point value. In ...@@ -28495,7 +28495,7 @@ In MySQL Version 3.23, this is a true floating-point value. In
earlier MySQL versions, @code{FLOAT(precision)} always has 2 decimals. earlier MySQL versions, @code{FLOAT(precision)} always has 2 decimals.
Note that using @code{FLOAT} may give you some unexpected problems as Note that using @code{FLOAT} may give you some unexpected problems as
all calculation in MySQL is done with double precision. all calculations in MySQL are done with double precision.
@xref{No matching rows}. @xref{No matching rows}.
@cindex ODBC compatibility @cindex ODBC compatibility
...@@ -28510,8 +28510,8 @@ A small (single-precision) floating-point number. Cannot be unsigned. ...@@ -28510,8 +28510,8 @@ A small (single-precision) floating-point number. Cannot be unsigned.
Allowable values are @code{@w{-3.402823466E+38}} to Allowable values are @code{@w{-3.402823466E+38}} to
@code{@w{-1.175494351E-38}}, @code{0}, and @code{@w{1.175494351E-38}} to @code{@w{-1.175494351E-38}}, @code{0}, and @code{@w{1.175494351E-38}} to
@code{3.402823466E+38}. The @code{M} is the display width and @code{D} is the @code{3.402823466E+38}. The @code{M} is the display width and @code{D} is the
number of decimals. @code{FLOAT} without an argument or with an argument of number of decimals. @code{FLOAT} without arguments or @code{FLOAT(X)} where
<= 24 stands for a single-precision floating-point number. @code{X} <= 24 stands for a single-precision floating-point number.
@tindex DOUBLE @tindex DOUBLE
@tindex FLOAT(precision) @tindex FLOAT(precision)
...@@ -28522,7 +28522,7 @@ unsigned. Allowable values are @code{@w{-1.7976931348623157E+308}} to ...@@ -28522,7 +28522,7 @@ unsigned. Allowable values are @code{@w{-1.7976931348623157E+308}} to
@code{@w{-2.2250738585072014E-308}}, @code{0}, and @code{@w{-2.2250738585072014E-308}}, @code{0}, and
@code{2.2250738585072014E-308} to @code{1.7976931348623157E+308}. The @code{2.2250738585072014E-308} to @code{1.7976931348623157E+308}. The
@code{M} is the display width and @code{D} is the number of decimals. @code{M} is the display width and @code{D} is the number of decimals.
@code{DOUBLE} without an argument or @code{FLOAT(X)} where 25 <= @code{X} @code{DOUBLE} without arguments or @code{FLOAT(X)} where 25 <= @code{X}
<= 53 stands for a double-precision floating-point number. <= 53 stands for a double-precision floating-point number.
@tindex DOUBLE PRECISION @tindex DOUBLE PRECISION
...@@ -28551,10 +28551,12 @@ default is 10. ...@@ -28551,10 +28551,12 @@ default is 10.
Prior to MySQL Version 3.23, the @code{M} argument must include the space Prior to MySQL Version 3.23, the @code{M} argument must include the space
needed for the sign and the decimal point. needed for the sign and the decimal point.
@tindex DEC
@tindex NUMERIC @tindex NUMERIC
@item NUMERIC(M,D) [ZEROFILL] @item DEC[(M[,D])] [ZEROFILL]
@itemx NUMERIC[(M[,D])] [ZEROFILL]
This is a synonym for @code{DECIMAL}. These are synonym for @code{DECIMAL}.
@tindex DATE @tindex DATE
@item DATE @item DATE
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment