Calculating total cost with sales tax