Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

parseint function javascript

function convertToInterger(mystring) {

	return parseInt(mystring);

}

console.log(convertToInterger("42"));
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #parseint #function #javascript
ADD COMMENT
Topic
Name
9+2 =