摘要: Document 计算机算数误差: 0.1+0.2 = 0.30000000000000004 17.45*3*0.9 = 47.114999999999995 17.45*0.9*3 = 47.115 用math进行计算,避免误差,见下方js ... 阅读全文
posted @ 2019-03-28 14:14 曾经的水哥 阅读(4782) 评论(0) 推荐(0) 编辑