how to turn a number into a percent in javascript code example
Example: how to turn decimales into percents with javascript
var obtained = 475;var total = 500;var percent = obtained*100/total;console.log(percent); // 95.0
var obtained = 475;var total = 500;var percent = obtained*100/total;console.log(percent); // 95.0