how to get exact to digits after decimal point in jquery or javascript

后端 未结 0 942
花落未央
花落未央 2020-12-05 14:15

I want the exact 2 digits after the decimal point. I tried the toFixed(2) function but it returns rounded off 2 digits. Here is my Code it returns 18.70

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