Obsolete number formatting and localization sample code