Click here to Skip to main content
15,889,859 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I need to convert amount in words into number(US format) using ASP.Net . I have googled about this but I am not able to get any link. There is only link about convert number to word.

Input is

Eight Hundred fifty six thousand and nine hundred fifteen.


Output is

856915


Please Help me out.

Thanks in advance...
Posted
Comments
Sergey Alexandrovich Kryukov 23-Sep-14 11:48am    
Just a question: which part of this example is "US format": "Eight Hundred fifty six thousand and nine hundred fifteen" or "856915"? ;-)
—SA

1 solution

I have googled about this but I am not able to get any link. There is only link about convert number to word.
Not true.  See this link:

http://stackoverflow.com/questions/11278081/convert-words-string-to-int

(Linkfication broken in solution editor).

/ravi
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 23-Sep-14 12:16pm    
5ed, and thanks you for correcting my answer.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900