I didn't want to wade through 46 pages, but I had to make an adjustment in order for the percentages to work right. The % correct at the bottom was showing the right amount, but the % correct at the top was not (on the results page) It was showing 6 out of 6 - 102%
Anyway, here's the change I made, if it hasn't already been documented:
Find:
PHP Code:
$avg = round($all / $number, 2);
$base = round(100 / $question_count);
$multiplied_total = $total * $base;
$multiplied_average = round($avg * $base);
$total_bar_multiply = $multiplied_total * $resultsbarmultiply;
$avg_total_bar_multiply = round($multiplied_average * $resultsbarmultiply);
Change to:
PHP Code:
$avg = $all / $number;
$base = 100 / $question_count;
$multiplied_total = ceil($total * $base);
$multiplied_average = ceil($avg * $base);
$total_bar_multiply = $multiplied_total * $resultsbarmultiply;
$avg_total_bar_multiply = ceil($multiplied_average * $resultsbarmultiply);