We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c9a97c commit 422ab67Copy full SHA for 422ab67
app/code/Magento/Quote/Model/Quote/Address/Total.php
@@ -55,7 +55,6 @@ public function __construct(
55
*/
56
public function setTotalAmount($code, $amount)
57
{
58
- /* (Fixes issue #18027) Round the total amount to 4 decimal places, to avoid floating point overflows */
59
$amount = is_float($amount) ? round($amount, 4) : $amount;
60
61
$this->totalAmounts[$code] = $amount;
@@ -76,7 +75,6 @@ public function setTotalAmount($code, $amount)
76
75
77
public function setBaseTotalAmount($code, $amount)
78
79
80
81
82
$this->baseTotalAmounts[$code] = $amount;
0 commit comments