Skip to content

Commit 849003a

Browse files
committed
AC-9221::SubTotal Rounding Issue For Decimal Quantity Enabled Product
1 parent 07ebac1 commit 849003a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Directory/Model/Currency.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ public function formatPrecision(
345345
$options['precision'] = $precision;
346346
}
347347
if (is_numeric($price)) {
348-
$price = round($price, $options['precision']);
348+
$price = round($price, $precision);
349349
}
350350
if ($includeContainer) {
351351
return '<span class="price">' . ($addBrackets ? '[' : '') . $this->formatTxt(

0 commit comments

Comments
 (0)