Here is what I\'m setting:
result = price / (case when tax = 0 then @tax1h / 100 else @tax2 / 100 end + 1)
These are the values:
Integer division:
select (6 / 100 + 1)
The result of the above is 1.
However, the result of:
select (6 / 100.0 + 1)
Is 1.06.