W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
运行代码
<html> <head> <script type="text/javascript"> function displaynum() { var num = new Number(10000); alert(num.toExponential(1)) } </script> </head> <body> Show the number 10,000 as an exponential notation: <form> <input type="button" value="Show!" onclick="displaynum()" > </form> </body> </html>