[PHP-DEV] PHP 4.0 Bug #4676: Incorrect float calculation 5.5/2=2.5 (instead 2.75) From: phaigner <email protected>
Date: 05/29/00

From: phaigner <email protected>
Operating system: Windows98, PSW 4.0
PHP version: 4.0 Release Candidate 2
PHP Bug Type: Misbehaving function
Bug description: Incorrect float calculation 5.5/2=2.5 (instead 2.75)

<HTML>
<BODY>
<?
echo "5.5/3=" . 5.5/3 . " ---> correct<br>";
echo "5.5/2=" . 5.5/2 . " ---> result is 2.5 on Win98/PWS, should be 2.75 ";
?>
</BODY>
</HTML>

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>