Answers for "string to double convert to node js"

4

javascript string to double

var string = "10";
var double = parseFloat(string);
console.log(typeof(double)); // float
// parseFloat used for float and double datatypes
Posted by: Guest on June-19-2021

Code answers related to "string to double convert to node js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language