JavaScript Number 对象toPrecision()方法的作用是:返回一个字符串,表示指定精度的数字。语法:number.toPrecision(precision)示例varnum=5.123456; num.toPrec.
確定! 回上一頁