diff options
author | Stefan Giehl <stefan@matomo.org> | 2020-02-14 10:50:46 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-14 10:50:46 +0300 |
commit | 86814cb53478f276b6a401c1930652b407c30af3 (patch) | |
tree | 823c79ce4678e565678b13bc8f38f2e2fd3987cd /plugins/CoreHome/DataTableRowAction/RowEvolution.php | |
parent | 04682ffedd9494a1c347fdaa6cdcfa23457577e5 (diff) |
Ensure the number of fraction digits is correct (#15544)
* Ensure the number of fraction digits is correct
* adjust number of fraction digits in row evolution
Diffstat (limited to 'plugins/CoreHome/DataTableRowAction/RowEvolution.php')
-rw-r--r-- | plugins/CoreHome/DataTableRowAction/RowEvolution.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/CoreHome/DataTableRowAction/RowEvolution.php b/plugins/CoreHome/DataTableRowAction/RowEvolution.php index 1da36555dc..87f92694c9 100644 --- a/plugins/CoreHome/DataTableRowAction/RowEvolution.php +++ b/plugins/CoreHome/DataTableRowAction/RowEvolution.php @@ -284,8 +284,8 @@ class RowEvolution $fractionDigits = max($this->getFractionDigits($first), $this->getFractionDigits($last)); $details = Piwik::translate('RowEvolution_MetricBetweenText', array( - NumberFormatter::getInstance()->format($first, $fractionDigits, $fractionDigits) . $unit, - NumberFormatter::getInstance()->format($last, $fractionDigits, $fractionDigits) . $unit, + NumberFormatter::getInstance()->format($first, $fractionDigits) . $unit, + NumberFormatter::getInstance()->format($last, $fractionDigits) . $unit, )); if ($change !== false) { |