diff --git a/include/utils/EditViewUtils.php b/include/utils/EditViewUtils.php index 2694b1360d93cb85dc279346c908f890b0b3822f..48d0bb95b8f8b1ba389d49c642f600eb67469881 100755 --- a/include/utils/EditViewUtils.php +++ b/include/utils/EditViewUtils.php @@ -470,7 +470,7 @@ function getAssociatedProducts($module, $focus, $seid = '', $refModuleName = fal $taxamount = ($subTotal-$finalDiscount)*$tax_percent/100; list($before_dot, $after_dot) = explode('.', $taxamount); if($after_dot[$no_of_decimal_places] == 5) { - $taxamount = round($taxamount, $no_of_decimal_places, PHP_ROUND_HALF_DOWN); + $taxamount = round($taxamount, $no_of_decimal_places, PHP_ROUND_HALF_UP); } else { $taxamount = number_format($taxamount, $no_of_decimal_places,'.',''); }