File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
app/code/Magento/Quote/Model/Quote/Address Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ public function __construct(
55
55
*/
56
56
public function setTotalAmount ($ code , $ amount )
57
57
{
58
- /* (Fixes issue #18027) Round the total amount to 4 decimal places, to avoid floating point overflows */
59
58
$ amount = is_float ($ amount ) ? round ($ amount , 4 ) : $ amount ;
60
59
61
60
$ this ->totalAmounts [$ code ] = $ amount ;
@@ -76,7 +75,6 @@ public function setTotalAmount($code, $amount)
76
75
*/
77
76
public function setBaseTotalAmount ($ code , $ amount )
78
77
{
79
- /* (Fixes issue #18027) Round the total amount to 4 decimal places, to avoid floating point overflows */
80
78
$ amount = is_float ($ amount ) ? round ($ amount , 4 ) : $ amount ;
81
79
82
80
$ this ->baseTotalAmounts [$ code ] = $ amount ;
You can’t perform that action at this time.
0 commit comments