converting str to int and vice versa
<p>I have a need to convert a string to an int and back after doing some processing. And the string has to be in words like below:</p>

<p>45 - forty five<br>
99 - ninety nine</p>

<p>I searched everywhere for a hint but couldn't find any. I know the obvious switch-case logic but I am curious if theres a more intelligent way doing it with less lines of code.</p>
