fixup number formatting for cost calculations