|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-11-03 08:46 UTC] nikic@php.net
[2012-11-03 08:46 UTC] nikic@php.net
-Status: Open
+Status: Not a bug
[2012-11-03 08:46 UTC] nikic@php.net
-Summary: c
+Summary: Incorrect ceil() rounding
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 05 21:00:01 2025 UTC |
Description: ------------ Problem in function ceil() Test script: --------------- <?php echo ceil((10 + 100) / 100 * 100); //111, but not 100 ?> Expected result: ---------------- The function ceil(((10 + 100) / 100 * 100)) must be return 110, but return 111 Actual result: -------------- fffff