此方法将表示数字对象的字符串返回到指定的精度。 **语法** ``` number.toPrecision( [ precision ] ) ``` **参数细节** - precision - 指定有效位数的整数。
確定! 回上一頁