Sublime Text
<!DOCTYPE html> <html> <body> <script> var a = 111111111; document.write(a.toExponential()); document.write("<hr>"); document.write(a.toExponential(1)); document.write("<hr>"); document.write(a.toExponential(2)); document.write("<hr>"); document.write(a.toExponential(3)); document.write("<hr>"); document.write(a.toExponential(4)); document.write("<hr>"); document.write(a.toExponential(5)); </script> </body> </html>
<!DOCTYPE html> <html> <body> <script> var a = 111111111; document.write(a.toExponential()); document.write("<hr>"); document.write(a.toExponential(1)); document.write("<hr>"); document.write(a.toExponential(2)); document.write("<hr>"); document.write(a.toExponential(3)); document.write("<hr>"); document.write(a.toExponential(4)); document.write("<hr>"); document.write(a.toExponential(5)); </script> </body> </html>