Skip to content

Commit

Permalink
MDL-40195: mod_assign: Display grades when quickgrading to 2 decimal …
Browse files Browse the repository at this point in the history
…places
  • Loading branch information
aolley committed Jul 8, 2013
1 parent cce0d9a commit dd8ba80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/assign/locallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@ public function display_grade($grade, $editing, $userid=0, $modified=0) {
if ($grade < 0) {
$displaygrade = '';
} else {
$displaygrade = format_float($grade);
$displaygrade = format_float($grade, 2);
}
$o .= '<label class="accesshide" for="quickgrade_' . $userid . '">' .
get_string('usergrade', 'assign') .
Expand Down

0 comments on commit dd8ba80

Please sign in to comment.