2020年05月07日 问题参见:四舍五入遇5 往哪靠?-JavaScript toFixed 根本不必研究往奇靠、往偶靠解决方法:function round(num, d) { num = num * Math.
確定! 回上一頁