Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript string to number


let stringToNum = "123"

console.log(Number(stringToNum))
Source by dev.to #
 
PREVIOUS NEXT
Tagged: #javascript #string #number
ADD COMMENT
Topic
Name
8+5 =