<html> <head> <title>Convert String to Number</title> </head> <body> <p> <script type="text/javascript"> var sNum = "1.23e-2"; document.writeln(parseFloat(sNum)); </script> </p> </body> </html>