Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: 在 javascript 中格式化数字
我正在寻找可以产生与 PHP 函数相同结果的 JavaScript 函数,number_format(150000,0,',',',');是否有可用的 JavaScript 函数来执行此操作?
number_format(150000,0,',',',');