PHP 4.0 Bug #5139 Updated: Subtraction among float-point numbers
| From: | Bug Database | Date: | Tue, 20 Jun 2000 07:58:45 +0000 |
| Subject: | PHP 4.0 Bug #5139 Updated: Subtraction among float-point numbers | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-21794@lists.php.net to get a copy of this message | ||
ID: 5139
Updated by: stas
Reported By: duxy@leyou.com
Status: Closed
Bug Type: Scripting Engine problem
Assigned To:
Comments:
Not a bug. That's how FP works. Try doing this in Perl, C
or anything - you will get the same,given enough precision.
If you want to display only 3 digits, display only 3 digits.
PHP uses your C implementation of floating point.
Full Bug description available at: http://bugs.php.net/version4/?id=5139