Calculating percentage of a sale amount