Is there a solution to the infamous floating point math error in JavaScript due to the 64-bit floating point representation? Is floating point math broken?
Im trying to make a math intensive application based on JavaScript, however, due to this error in JavaScript, it always results in inaccurate output.
For ex.: 0.1 + 0.2 = 0.30000000000000004 whereas the expected is 0.1 + 0.2 = 0.3
I wonder how the financial organizations like (PayPal) are still up with there javascript applications.