javascript 中四舍五入我们用的是Math.round,但是Math.round的只根据小数位第一位进行四舍五入,需要Math.round(num*100)/100 这种形式进行转化下。
確定! 回上一頁