Answers for "stringify a floatjavascript"

1

javascript string to float

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

Code answers related to "Javascript"

Browse Popular Code Answers by Language