Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

How to convert string to number in javascript

let number = +"5";
// add sign converts string variable into integer
Source by gomakethings.com #
 
PREVIOUS NEXT
Tagged: #How #convert #string #number #javascript
ADD COMMENT
Topic
Name
4+6 =