title: Converting words to numbers in Java
body: <p>I have seen a lot of algorithms in which you give them a number say &quot;123&quot; and it converts it to One hundred twenty three. But I can't seem to find something that does the opposite, and the ones I did find only do it up to the number 1000. Can anyone direct me in the correct way as what I could do to create a method that takes &quot;One thousand two hundred and thirty four&quot; and gives back &quot;1234&quot;</p>