mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
MDL-74885 reportbuilder: format value using percents from lang pack
This commit is contained in:
parent
9ccda59e00
commit
ecb95114e9
@ -58,6 +58,6 @@ class format {
|
||||
* @return string
|
||||
*/
|
||||
public static function percent(float $value): string {
|
||||
return format_float($value, 1) . '%';
|
||||
return get_string('percents', 'moodle', format_float($value));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user