Writing numbers in words: convert words to digits