Answers for "convert double string do double 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 "Javascript"

Browse Popular Code Answers by Language