js 保留两位小数 例如:let a = 16.4 console.log(parseInt(a*100)/100, a.toFixed(2))//16.39,16.40 第一种方式有弊端,会影响到数据