From: [EMAIL PROTECTED] Operating system: Windows NT PHP version: 4.1.1 PHP Bug Type: *Math Functions Bug description: Strange behavior of floor() with negative values
echo floor(1.6); // will output "1" This is allright... echo floor(-1.6); // will output "-2" But shouldn't this one output "-1" instead? --- Sebastian -- Edit bug report at http://bugs.php.net/?id=15403&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15403&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15403&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15403&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15403&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15403&r=support Expected behavior: http://bugs.php.net/fix.php?id=15403&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15403&r=notenoughinfo -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php