PHP 4.0 Bug #5819 Updated: Floating-point precison lost only but always for some "magic" numbers
| From: | Bug Database | Date: | Thu, 27 Jul 2000 16:07:27 +0000 |
| Subject: | PHP 4.0 Bug #5819 Updated: Floating-point precison lost only but always for some "magic" numbers | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-26498@lists.php.net to get a copy of this message | ||
ID: 5819
Updated by: stas
Reported By: nightfall@mail.ru
Status: Analyzed
Bug Type: Other
Assigned To:
Comments:
I don't think this is PHP bugs, as the same happens in other languages. You should use floor or
round anyway, intval is not a good way to convert IMO.
Full Bug description available at: http://bugs.php.net/?id=5819