Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to turn decimales into percents with javascript

var obtained = 475;var total = 500;var percent = obtained*100/total;console.log(percent); // 95.0
Source by www.quora.com #
 
PREVIOUS NEXT
Tagged: #turn #decimales #percents #javascript
ADD COMMENT
Topic
Name
2+5 =