Cadena de JavaScript a Dou

var string = "10";
var double = parseFloat(string);
console.log(typeof(double)); // float
// parseFloat used for float and double datatypes
Programming Is Fun