diff options
author | unknown <tim@threads.polyesthetic.msg> | 2001-04-05 15:25:39 -0400 |
---|---|---|
committer | unknown <tim@threads.polyesthetic.msg> | 2001-04-05 15:25:39 -0400 |
commit | 9d10389a1238cfad6971236f55ee33d228f31cab (patch) | |
tree | 65a20165f805af845527125d8ca46059a5a9eed7 /Docs | |
parent | 27d9f781f25101f62dc175d13f16b2976f2bd551 (diff) | |
parent | 2a4e281c8241636e79f4cf663f2cb8d24d4665dd (diff) | |
download | mariadb-git-9d10389a1238cfad6971236f55ee33d228f31cab.tar.gz |
Merge
BitKeeper/etc/logging_ok:
auto-union
Docs/manual.texi:
SCCS merged
Diffstat (limited to 'Docs')
-rw-r--r-- | Docs/manual.texi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Docs/manual.texi b/Docs/manual.texi index 9d6330c2342..03795f3e2ca 100644 --- a/Docs/manual.texi +++ b/Docs/manual.texi @@ -16529,6 +16529,13 @@ mysql> select ROUND(1.58); -> 2 @end example +Note that the behavior of @code{ROUND()} when the argument +is half way between two integers depends on the C library +implementation. Some round to the nearest even number, +always up, always down, or always towards zero. If you need +one kind of rounding, you should use a well-defined function +like @code{TRUNCATE()} or @code{FLOOR()} instead. + @findex ROUND() @item ROUND(X,D) Returns the argument @code{X}, rounded to a number with @code{D} decimals. |