DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
how to convert string to int js
let string = "1"; let num = parseInt(string); //num will equal 1 as a int
PREVIOUS
NEXT
Tagged:
#convert
#string
#int
#js
ADD COMMENT
Topic
COMMENT
Name
9+6 =
Submit