js中0.1+0.2 与0.3的对比

 

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

  

posted @   qixianchuan  阅读(222)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示