OK, I understand this is something very basic, I should understand.
Maybe anybody can teach me the difference between:
mysql> select floor(23.49999999999999 + 0.5);
+--------------------------------+
| floor(23.49999999999999 + 0.5) |
+--------------------------------+
| 23 |
+--------------------------------+
and
mysql> select floor(23.499999999999999 + 0.5);
+---------------------------------+
| floor(23.499999999999999 + 0.5) |
+---------------------------------+
| 24 |
+---------------------------------+
Why are there different results?
Have a nice thread,
Peter
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php