Format totals numbers on UI.