Javascript toFixed(2) function not working

前端 未结 0 1270
忘掉有多难
忘掉有多难 2021-01-30 05:06

I am trying to get an output of 4.01 but I am getting 4.013000000000005 instead. The first time I ran the code, I thought the problem was that I didn\'t have parseFloat but it s

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