Number Data Type JavaScript Tutorial

< html>

Convert String to Number




var fValue = parseFloat("1.45inch");
document.writeln("

" + fValue + "

");