diff --git a/Service/Insights/EventProcessor.php b/Service/Insights/EventProcessor.php index 88adb9068..055c683b9 100644 --- a/Service/Insights/EventProcessor.php +++ b/Service/Insights/EventProcessor.php @@ -259,7 +259,7 @@ protected function getQuoteItemSalePrice(Item $item): float */ protected function getQuoteItemDiscount(Item $item): float { - return floatval($item->getProduct()->getPrice()) - $this->getQuoteItemSalePrice($item); + return round(floatval($item->getProduct()->getPrice()) - $this->getQuoteItemSalePrice($item),2); } /**