toExponential 对象的值转换为指数计数法
语法:NumberObject.toExponential(num)
num,指定指数计数法的小数的位数,如 89,指定小数位1,则 val number="89"; alert(number.toExponential(1)); 就会输出8.9e+1 后面+1,代表的是科学计数法的表示法
语法:NumberObject.toExponential(num)
num,指定指数计数法的小数的位数,如 89,指定小数位1,则 val number="89"; alert(number.toExponential(1)); 就会输出8.9e+1 后面+1,代表的是科学计数法的表示法
暂无评论。
评论功能维护中,当前仅展示历史评论。