var p= 10 //保留两位小数点 console.log(Math.round(p * 10000) /100) console.log(Math.round(p * 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交