Cómo convertir decimales en porcentajes con JavaScript
var obtained = 475;var total = 500;var percent = obtained*100/total;console.log(percent); // 95.0
Grotesque Gorilla
var obtained = 475;var total = 500;var percent = obtained*100/total;console.log(percent); // 95.0