|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-03-16 03:46 UTC] jhdxr@php.net
-Status: Open
+Status: Not a bug
[2017-03-16 03:46 UTC] jhdxr@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 19:00:02 2025 UTC |
Description: ------------ 162.95 multiplied by 100 and not equal to 16295, the other digits tested were normal Test script: --------------- $a = 162.95; $b = 16295; $c = (double)($a*100); $b = (double)$b; if($c!=$b) { echo "<br/>not eq ,c=".$c.",b=".$b; }else{ echo "eq"; } Expected result: ---------------- The result of running this script should be equal Actual result: -------------- Actual results are not equal