Number Data Type JavaScript Tutorial

< html>

Convert String to Number




var sNum = "1.23e-2";
document.writeln(parseFloat(sNum));