Skip to content
RED SAG Skills
hard20 pts · first answer countsarraysprefix-sumsfloating-point

Running totals of rupee amounts

A report keeps a running total of amounts like 0.10 and 0.20 rupees in JavaScript Numbers. After many additions, totals show values like 1234.5600000000002. What is the robust fix?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions