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 number in javascript
let number = +"5"; // add sign converts string variable into integer
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#How
#convert
#string
#number
#javascript
ADD COMMENT
Topic
COMMENT
Name
4+9 =
Submit