Where is the tail fraction?

console.log(1.1 - 0.99); 

Reported as a duplicate at Grundy. javascript Dec 10 '18 at 12:16

A similar question was asked earlier and an answer has already been received. If the answers provided are not exhaustive, please ask a new question .

  • 3
    What are you surprised at? Are you rounding off a fraction somewhere? - And
  • four
    All because of the representation of fractional numbers ru.stackoverflow.com/questions/770134/… - Komdosh
  • Once this problem was called 2 + 2 = 3.99999999 - nick_n_a
  • @nick_n_a, here it is rather: 0.1 + 0.2 == 0.3 :) - Grundy
  • @Grundy, rather like (0.1+0.7)*10 = 7 =) - And

0