Skip to content

Commit 2416307

Browse files
committed
try to fix calculation #10790
1 parent b0d58cc commit 2416307

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

app/code/Magento/Tax/Model/Calculation/AbstractAggregateCalculator.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,6 @@ protected function calculateWithTaxNotInPrice(QuoteDetailsItemInterface $item, $
149149
$rowTaxBeforeDiscount = array_sum($rowTaxesBeforeDiscount);
150150
$rowTotalInclTax = $rowTotal + $rowTaxBeforeDiscount;
151151
$priceInclTax = $rowTotalInclTax / $quantity;
152-
if ($round) {
153-
$priceInclTax = $this->calculationTool->round($priceInclTax);
154-
}
155152

156153
return $this->taxDetailsItemDataObjectFactory->create()
157154
->setCode($item->getCode())

0 commit comments

Comments
 (0)