Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

convert string to number javascript

let string = "123";
let num = parseInt(string); // 123
Source by dev.to #
 
PREVIOUS NEXT
Tagged: #convert #string #number #javascript
ADD COMMENT
Topic
Name
8+1 =