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
var
string
=
"1"
;
var
num
=
parseInt
(
string
)
;
console
.
log
(
num
)
;
Source by gomakethings.com #
PREVIOUS
NEXT
Tagged:
#convert
#string
#int
#js
ADD COMMENT
Topic
COMMENT
Name
1+1 =
Submit