Do tax calculation math correctly