in reply to Funny addition behaviour

Hmmmm dodgey, been beating my head against the wall all day trying to find the bug. That simple code wasn't what it started as :(

Most annoying is that I thought of floating point inaccuracy, but because I tried the second combination as a test which worked, I had to go back and slowly eliminate code.

It's not every day that you find out, (33.3+33.3+33.4) != (33.4+33.3+33.3). I think I won most obscure bug in the office.