note 117180 rejected from install.problems.bugs by tularis
| From: | tularis@php.net | Date: | Mon, 27 Apr 2015 18:19:21 +0000 |
| Subject: | note 117180 rejected from install.problems.bugs by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-202385@lists.php.net to get a copy of this message | ||
Note Submitter: gauravkumarsharma dot work at gmail dot com
----
When I am running following code:
echo(int)((.1+.7)*10);
Out put : 7
Actual should be: 8
So can any body explain the logic behind this issue. Because its creating problem in one of my
financial application.
Note: Currently i am using PHP Version 5.3.29.
BR
Gaurav.