摘要: function toThousands(num) { num = (num || 0).toString(); let number = 0, floatNum = '', intNum = ''; // 判断是否有小数位,有则截取小数点后的数字 if (num.indexOf('.') > 0) 阅读全文
posted @ 2020-07-10 14:35 PromiseOne 阅读(487) 评论(0) 推荐(0) 编辑