Sorry if this is a silly question, but it is useful for my current lexical analysis project. Is there any built-in and preferably culture-based (language-based) function in the .Net framework to convert back and forth from string with numbers and the words that represent them? Like "1" <-> "one", "2" <-> "two", "3" <-> "three" and like this?
I know this can be made using a dictionary or a list with all the valid correspondences, but that is too much work if there is already a built-in function that one can use.
Edit: People who voted to close may have not understood that I was not asking how to convert decimal representation to strings, but the reverse operation: from a string to it's decimal representation. The links provided do not address this problem.
Thank you very much.