js中0.1+0.2 与0.3的对比

Math.abs(0.1+0.2-0.3)<=Number.EPSILON

  

业精于勤荒于嬉,行成于思毁于随
原文地址:https://www.cnblogs.com/qixianchuan/p/11267997.html