Answers for "convert string to number in function in typescript"

9

string to int typescript

Number('123') //123
Number('xxx') //NaN
Posted by: Guest on February-03-2021
2

typescript cast string to number

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

Code answers related to "convert string to number in function in typescript"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language