|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-08-07 09:22 UTC] phildriscoll@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 20:00:01 2025 UTC |
<?php for ($i=1; $i<=10; $i+=0.01) { print "<br>$i"; } ?> and the output look like ... 1 1.01 1.02 1.03 . . . . 4.3 4.31 4.32 4.33 4.34 4.35 4.36 4.37 4.38 4.3899999999999 4.3999999999999 4.4099999999999 4.4199999999999 4.4299999999999 4.4399999999999 . . . . .