四舍五入的Javascript问题

时间:2020-05-12 06:42:54

标签: javascript

(1.125).toFixed(2)='1.13' 但 (1.025).toFixed(2)='1.02' 在JS中应为1.03。

0 个答案:

没有答案