diff --git a/app/models/tax_profile.rb b/app/models/tax_profile.rb index f06270e6..b531cd5c 100755 --- a/app/models/tax_profile.rb +++ b/app/models/tax_profile.rb @@ -14,7 +14,7 @@ class TaxProfile < ApplicationRecord #include or execulive if tax.inclusive rate = tax.rate.to_f - divided_value += (100 + rate)/rate + divided_value += rate / (100 + rate) else exclusive += tax.rate.to_f / 100 end