Number.prototype.thousandth = function() { return `${this}`.replace(/\d{1,3}(?=(\d{3})+$)/g, '$&,'); };
数字千分位正则自动转换
猜你喜欢
转载自www.cnblogs.com/guxuelong/p/12768726.html
今日推荐
周排行