Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

convert result of .innerHTML to number on javascript

parseFloat(document.getElementById("div1").innerHTML)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #result #number #javascript
ADD COMMENT
Topic
Name
3+9 =