To do calculations that require decimal precision you should not use floating point calculations. agrahm's BigNumbers library is the answer to this problem. It's not a display issue it's calculation issue.
In most cases BigNumber calculations are not necessaray, Double calculations are enough.
But the display is anoying, therefore the suggestion to use NumberFormat.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.