摘要: function formatDecimal(num, decimal) { num = num.toString() let index = num.indexOf('.') if (index !== -1) { num = num.substring(0, decimal + index + 阅读全文
posted @ 2021-12-02 11:13 54墨玉 阅读(587) 评论(0) 推荐(0) 编辑