formats a number with commas