格式化数字

function number_format(Num){
2 return new String(Num).replace(/\d+?(?=(?:\d{3})+$)/img, "$&,");
3 }
相关文章
相关标签/搜索