Permalink
Browse files

MDL-40195: mod_assign: Display grades when quickgrading to 2 decimal …

…places
  • Loading branch information...
1 parent cce0d9a commit dd8ba8000501519e4ac010c2bb84e7d67eb029c5 @aolley aolley committed Jul 8, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/assign/locallib.php
@@ -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') .

0 comments on commit dd8ba80

Please sign in to comment.