阅读背景:

JS toFixed四舍五入精度校正

来源:互联网 
var a = 2.255;
var b = a.toFixed(2);
console.log(b););
console



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: