@@ -53,7 +53,7 @@ class Price | |||
public static function getPriceWithTax($priceWithoutTax, $taxRate) | |||
{ | |||
return floatval($priceWithoutTax) * ($taxRate + 1) ; | |||
return self::numberTwoDecimals(floatval($priceWithoutTax) * ($taxRate + 1)) ; | |||
} | |||
public static function numberTwoDecimals($number) |