日期:2014-05-16 浏览次数:20466 次
var oNumberObject = new Number(68); alert(oNumberObject.toFixed(2)); //输出 "68.00"
var oNumberObject = new Number(68); alert(oNumberObject.toExponential(1)); //输出 "6.8e+1"