Search
 
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
Name
3+7 =