Formatting the totals