Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to convert string to int js

var string = "1";
var num = parseInt(string);
console.log(num);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #string #int #js
ADD COMMENT
Topic
Name
4+2 =