var myString = "10.05"; var myDouble = parseFloat(myString); console.log(myDouble); // Will output '10.05'