格式化數字

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