parseFloat("1.23e-2") : parse « Data Type « JavaScript DHTML






parseFloat("1.23e-2")

  
<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> 

   
    
  








Related examples in the same category

1.parseInt("33.00")
2.parseFloat("1.45inch")