摘要: 例子: 1.11*100=111.00000000000001; signFigures: function(num, rank = 6) { if(!num) return(0); const sign = num / Math.abs(num); const number = num * sig 阅读全文
posted @ 2020-03-09 15:29 柠檬青味 阅读(1113) 评论(0) 推荐(0) 编辑