Data Type JavaScript DHTML



Convert String to Number




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