|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-11-28 12:31 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 29 07:00:01 2025 UTC |
Description: ------------ printf %f rounding error Reproduce code: --------------- <?php $a=43.65; printf("%6.1f",$s); ?> Expected result: ---------------- 43.6 Actual result: -------------- 43.7