1 2 3 4

07 2020 档案

摘要:getFloat = (num, n) => { n = n ? parseInt(n) : 0; if(n <= 0) { return Math.round(num); } num = Math.round(num * Math.pow(10, n)) / Math.pow(10, n); // 阅读全文
posted @ 2020-07-23 10:38 无序 阅读(151) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示