Answers for "type conversion java script string to number"

122

javascript convert string to number

var myInt = parseInt("10.256"); //10
var myFloat = parseFloat("10.256"); //10.256
Posted by: Guest on July-23-2019
3

typescript cast string to number

var x = "32";
var y = +x; // y: number
Posted by: Guest on March-04-2020

Code answers related to "type conversion java script string to number"

Code answers related to "Javascript"

Browse Popular Code Answers by Language