Calculator in HTML and [removed] sum rounding

后端 未结 0 1662
暗喜
暗喜 2021-02-08 01:45

I am writing simple calculator in HTML. Why 2.2 + 2.2 = 4.4, BUT 10.2 + 2.2 = 12.3999999999 (not a 12.4)? I use Chrome. Thanks!

相关标签:
回答
  • 消灭零回复
提交回复
热议问题