diff --git a/Model/Plugin/Currency.php b/Model/Plugin/Currency.php index be9cb03..cf5095c 100644 --- a/Model/Plugin/Currency.php +++ b/Model/Plugin/Currency.php @@ -20,7 +20,7 @@ public function beforeToCurrency( ...$arguments ) { if ($this->getConfig()->isEnable()) { - $arguments[1]['precision'] = $subject->getPricePrecision(); + $arguments[1]['precision'] = (int) $subject->getPricePrecision(); } return $arguments; }