|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-05-01 04:56 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 07 21:00:01 2025 UTC |
i've got a script: <? echo number_format("4.705",2,'.',''); echo "<br>"; echo number_format("1.785",2,'.',''); ?> the result should be: 4.71 1.79 (because last digit is 5) but is 4.71 1.78 <-- why?