|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-05-26 20:02 UTC] jani@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 14 09:00:02 2025 UTC |
Description: ------------ Function round() returns a wrong value ("-0") when the real value is lower than 0. Reproduce code: --------------- <? echo "Value: ".round(-0.0001,0); ?> Expected result: ---------------- Value: 0 Actual result: -------------- Value: -0