Results 1 comments of zhoujian

js中比较浮点数相等应该使用js提供的最小精度 EPSILON : 差值小于最小精度就是相等! Math.abs(0.1 + 0.2 - 0.3)