Math.round()方法
js之toFixed()四舍五入丢失精度的问题解决
js保留两位小数方法总结
keepTwoDecimal (num) { const result = Math.round(num * 100) / 100 return result }