DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
parseInt() javascript
var myNumber="120"; var myString =parseInt(myNumber); //converts string to number return: 120
Source by developer.mozilla.org #
PREVIOUS
NEXT
Tagged:
#javascript
ADD COMMENT
Topic
COMMENT
Name
8+9 =
Submit