摘要: function formatDecimal(num, decimal) { num = num.toString() let index = num.indexOf('.') if (index !== -1) { num = num.substring(0, decimal + index + 阅读全文
posted @ 2020-05-19 17:07 expworld 阅读(14330) 评论(0) 推荐(2) 编辑