Skip to content

Commit 422ab67

Browse files
jayankaghoshShikha Mishra
authored and
Shikha Mishra
committed
unnecessary comments removed
1 parent 6c9a97c commit 422ab67

File tree

1 file changed

+0
-2
lines changed
  • app/code/Magento/Quote/Model/Quote/Address

1 file changed

+0
-2
lines changed

app/code/Magento/Quote/Model/Quote/Address/Total.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ public function __construct(
5555
*/
5656
public function setTotalAmount($code, $amount)
5757
{
58-
/* (Fixes issue #18027) Round the total amount to 4 decimal places, to avoid floating point overflows */
5958
$amount = is_float($amount) ? round($amount, 4) : $amount;
6059

6160
$this->totalAmounts[$code] = $amount;
@@ -76,7 +75,6 @@ public function setTotalAmount($code, $amount)
7675
*/
7776
public function setBaseTotalAmount($code, $amount)
7877
{
79-
/* (Fixes issue #18027) Round the total amount to 4 decimal places, to avoid floating point overflows */
8078
$amount = is_float($amount) ? round($amount, 4) : $amount;
8179

8280
$this->baseTotalAmounts[$code] = $amount;

0 commit comments

Comments
 (0)