Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js convert string to number

let string = "1"
console.log(+string)
Source by thecodingcompany.hashnode.dev #
 
PREVIOUS NEXT
Tagged: #js #convert #string #number
ADD COMMENT
Topic
Name
7+1 =