Apply number formatting