摘要: function toThousands(num) { return (num || 0).toString().replace(/(\d)(?=(?:\d{3})+$)/g, '$1,'); } 阅读全文
posted @ 2019-03-06 13:35 不爱吃糖 阅读(240) 评论(0) 推荐(0) 编辑