Tuesday, January 24, 2017

javascript - How can I add float numbers without issue 0.1 + 0.2 !== 0.3?

I'm working in map app. So I manipulate a lot of with float number (lat and long). I knew that we have issue related to 0.1 + 0.2 !== 0.3. So how I can void it? Is there any method to add multiple float number?

No comments:

Post a Comment