i want to get percentage with max of 2 decimals not more than that. im getting output like this Total Score is 26.666666666666668 %
desired output 26.66%
if(pos >= questions.length){
test.innerHTML = "<h2>You gave "+correct+" CORRECT answers out of "+questions.length+" questions </h2><br/><h3>Total Score is "+correct/questions.length * 100 +" %</h3>";
_("test_status").innerHTML = "Quiz 1 Completed";
pos = 0;
correct = 0;
return false;
}