diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2016-10-20 03:33:04 +0300 |
---|---|---|
committer | Matthieu Aubry <mattab@users.noreply.github.com> | 2016-10-20 03:33:04 +0300 |
commit | 3ff76c93a251bfb0137540caaf04b9566d9a76f4 (patch) | |
tree | 417c853eaec0cf85bbbe550bfc664b7eeb2ce9b4 | |
parent | f6947878aa3ac56129d31e7d9827c9d5e69da546 (diff) |
trying to format percentage in scheduled reports (#10766)
-rw-r--r-- | plugins/API/ProcessedReport.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/API/ProcessedReport.php b/plugins/API/ProcessedReport.php index 772ff911f4..2ea001fa09 100644 --- a/plugins/API/ProcessedReport.php +++ b/plugins/API/ProcessedReport.php @@ -879,10 +879,10 @@ class ProcessedReport // Add % symbol to rates if (strpos($columnName, '_rate') !== false) { if (strpos($value, "%") === false) { - return $value . "%"; + return (100 * $value) . "%"; } } return $value; } -}
\ No newline at end of file +} |