DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
convert string to a number javascript
let age = "23"; let intValue = +age //adding + operator converts it into integer
Source by htmlcheatsheet.com #
PREVIOUS
NEXT
Tagged:
#convert
#string
#number
#javascript
ADD COMMENT
Topic
COMMENT
Name
6+2 =
Submit