function toThousands(num) { return (num || 0).toString().replace(/(\d)(?=(?:\d{3})+$)/g, '$1,');}
posted on 2017-10-24 00:55 王泽平 阅读(3189) 评论(0) 编辑 收藏 举报