Skip to content

Commit

Permalink
Merge branch 'MDL-74885-400' of https://github.com/dravek/moodle into…
Browse files Browse the repository at this point in the history
… MOODLE_400_STABLE
  • Loading branch information
junpataleta committed Jul 7, 2022
2 parents 4969af7 + cca619f commit 0ba63f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reportbuilder/classes/local/helpers/format.php
Expand Up @@ -61,6 +61,6 @@ public static function boolean_as_text($value): string {
* @return string
*/
public static function percent($value): string {
return format_float((float) $value, 1) . '%';
return get_string('percents', 'moodle', format_float((float) $value));
}
}

0 comments on commit 0ba63f8

Please sign in to comment.