|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-10-26 13:11 UTC] derick@php.net
-Status: Open
+Status: Bogus
[2010-10-26 13:11 UTC] derick@php.net
[2014-12-25 20:40 UTC] irker@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 20:00:01 2025 UTC |
Description: ------------ It doesn't calculate expected value (220) in the given example (110 / (100 - 50) * 100). Test script: --------------- echo '<pre>'; echo 110 / (100 - 50) * 100; echo "\n"; echo var_export((110 / (100 - 50) * 100) == 220); echo "\n"; echo ceil(110 / (100 - 50) * 100); echo "\n"; echo sprintf('%.15f', 110 / (100 - 50) * 100); echo '</pre>';