Added function to get the tax amount of the value