Skip to content

Commit

Permalink
Merge durchgeführt in feature/17590-round-price-to-cent-values (Pull-…
Browse files Browse the repository at this point in the history
…Request #87)

#17590 round euros to cent values for foreign currencies

Genehmigt von: Bohdan Medvediev
  • Loading branch information
mbe1987 committed Jul 16, 2021
2 parents aaaee0b + 1cc95c8 commit 9ce5184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/mo/mo_dhl/Adapter/GKVShipmentBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ protected function getEURPrice(Order $order, float $price): float
return $price;
}

return $price / $order->oxorder__oxcurrate->value;
return round($price / $order->oxorder__oxcurrate->value, 2);
}

/**
Expand Down

0 comments on commit 9ce5184

Please sign in to comment.