Add method to format numbers with commas at the thousands places