I don't get why javascript math lib calculate some wierd value when doing such simple math operation as (more examples in the fiddle) http://jsfiddle.net/ye9amc2k/
16.99 + 21 = 37.99 ? not for javascript ! (37.989999999999995)
16.98 + 21 = 37.980000000000004 ...
Is it some rounding problem ? a type one (int vs float) ? a browser one (i'm using chrome right now) ?