Converts a number to its text form.