I´ve come across this oddity when writing some JS code. It happens in both Chrome and Firefox:
10.04 + 0.01 = 10.049999999999999
Not sure if I´m just missing something obvious that causes this?
Right now I am handling it with rounding the number afterwards - Is there a better way to avoid this bug/feature?