Commit 69c32082 authored by Robert Ricci's avatar Robert Ricci

Better display of totals

parent f8ff75b5
......@@ -92,7 +92,7 @@ foreach my $student (sort keys %scores) {
push @studentscores, $pct * $weight;
foreach my $hw (sort keys $scores{$student}{$type}) {
my ($total, $possible, $hash) = @{$scores{$student}{$type}{$hw}};
printf $FH "\t\t%15s: %3d / %3d (%s)\n", $hw, $total, $possible, $hash;
printf $FH "\t\t%15s: %6.2f / %6.2f (%s)\n", $hw, $total, $possible, $hash;
}
print $FH "\n";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment