摘要: function formattedNumber(num) { var num = (num || 0).toString(); var result = ''; while (num.length > 3) { result = ',' + num.slice(-3) + result; num 阅读全文
posted @ 2018-09-04 20:38 MoenyChen 阅读(1614) 评论(0) 推荐(0)