JavaScript - add comma to whole number by using toLocaleString()

前端 未结 0 1035
抹茶落季
抹茶落季 2020-12-01 14:05

I\'m trying to make a calculator in JavaScript. I\'d like to add a comma separator to the whole number when it displayed to input. I want to do it by using toLocaleString me

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