Permalink
Browse files

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

…places
  • Loading branch information...
aolley committed Jul 8, 2013
1 parent 4c6f1ec commit 66a38f083a5cddeb52cd0dc6025316471d710d14
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/assign/locallib.php
View
@@ -1144,7 +1144,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 66a38f0

Please sign in to comment.