ID: 9692
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: Math related
Assigned To: 
Comments:

Check the last comment on bug: #9288

--Jani



Previous Comments:
---------------------------------------------------------------------------

[2001-03-12 00:41:11] [EMAIL PROTECTED]
Please check http://www.transecute.com/~kalpesh/check.php4

In case (1) I subtract a number from another which should output '0.9' but insted 
outputs '0.90000000000009'

In case (2) I subtract a number from another and it gives correct output

This behaviour has been noticed if the result of the subtraction is greater than 100. 
I have also published my PHPINFO output on the same page for your reference.

This bug is quite dangerous (especially for us when we are dealing with financial 
calculations for our payment gateway using PHP) since all our reports dont tally at 
the end of the day by tiny figures such as this.

---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9692&edit=2


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to