|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-05-30 10:52 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 19:00:01 2025 UTC |
<? $b = 0; $o = 0.1; $k = 1000; for($i=0;$i<$k;$i++) $b += $o; echo $b."|". $o * $k; ?> the result will be '99.999999999999|100', it isn't correct!