ID:               43190
 User updated by:  smoove at mail dot ru
 Reported By:      smoove at mail dot ru
 Status:           Open
 Bug Type:         Math related
 Operating System: Linux(Debian Sarge) + Win XP
 PHP Version:      5.2.4
 New Comment:

Ok, i actually can reproduce the problem...

<?php
for($i=1;$i<=200;$i++)
{
   echo floor($i.'000000');
   echo '<br>';
}
?>

This gives me the feeling that this is not a Bug?!


Previous Comments:
------------------------------------------------------------------------

[2007-11-05 00:27:13] smoove at mail dot ru

Description:
------------
I could not reproduce this behavior with any other values.

Reproduce code:
---------------
<?php
    $val = floor(140000000);
    echo $val;
?>

Expected result:
----------------
140000000

Actual result:
--------------
1.4E+8


------------------------------------------------------------------------


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

Reply via email to