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 gomakethings.com #
 
PREVIOUS NEXT
Tagged: #convert #string #int #js
ADD COMMENT
Topic
Name
1+5 =