From:             [EMAIL PROTECTED]
Operating system: Win2000 
PHP version:      4.0.5
PHP Bug Type:     *General Issues
Bug description:  Integer?

<?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

.
.
.
.
.

-- 
Edit bug report at: http://bugs.php.net/?id=12615&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to