Turn a number into a formatted string