calculator icon indicating copy to clipboard operation
calculator copied to clipboard

Calculation error: 0.6 + 0.3 results in 0.8999999999999999

Open JeevaRamanathan opened this issue 2 years ago • 0 comments

0.6 + 0.3 should be 0.9, but it is returning 0.8999999999999999 instead. This issue is not specific to the calculation 0.6 + 0.3 = 0.9, but rather a consequence of the way floating-point numbers are represented in JavaScript

@DhanushNehru I would like to work on this.

JeevaRamanathan avatar Oct 20 '23 05:10 JeevaRamanathan