ID:               20185
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Bogus
 Bug Type:         *Math Functions
 Operating System: solaris
 PHP Version:      4.2.2
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php


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

[2002-10-31 03:32:31] [EMAIL PROTECTED]

// code

$a = 4.1 - 0.1;
$b = 4;

echo "$a, $b <br>";
echo floor($a).", ".floor($b);

// result
4, 4 
3, 4 

It's same result (int)$a.

Good luck!

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


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

Reply via email to