From:             [EMAIL PROTECTED]
Operating system: Windows 98
PHP version:      4.0.4pl1
PHP Bug Type:     *Regular Expressions
Bug description:  Arithmetic error 

Hi I am not sure if I have found a bug - what do you think.......?

Consider this:

$var1 = -0.32 + (0.1*3.2)

This should give var1 the value 0, instead it gives


Interestingly if you increase -0.33 and 3.3 respectively it gives the correct answer. 

Rob Burne


Edit Bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to