javascript浮点数相减、相乘出现一长串小数

149.7 * 100 = 14969.999999999998

3.57 - 2.33 = 1.2399999999999998

猜你喜欢

转载自www.cnblogs.com/wujinhong/p/12667836.html