Can anybody explain abrupt behaviour of decimal number?

What cause decimal number to be rounded when multiple by 100?
161.20*100= 16119.999999999998

Floating Point Arithmetic! see http://floating-point-gui.de/

Has anyone tried using js library such as decimal.js-light to get around the floating point arithmetic issues?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.