ID: 10727 Updated by: hholzgra Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Bogus Bug Type: Math related Operating system: PHP Version: 4.0.4pl1 Assigned To: Comments: this is a general problem with decimal calculations on binary processors and not related to php itself Previous Comments: --------------------------------------------------------------------------- [2001-05-08 06:24:18] [EMAIL PROTECTED] print((2.3 * 100 % 100) . "<br>n"); This generated 29 while print((230 % 100) . "<br>n"); writes 30 as expected --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10727&edit=2 -- 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]