Click here to Skip to main content
15,887,816 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Can anyone please help my to write a program that takes a number and translates it to a word sentence, e.g. 1,234 becomes “one thousand two hundred and thirty four”. and it should be able to handle any number between 0 and 10 million.
Posted

 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 8-Aug-12 17:35pm    
Quite a collection, my 5.
--SA
Prasad_Kulkarni 8-Aug-12 23:57pm    
:) Thank you SA!
 
Share this answer
 
Comments
Member 9343799 11-Aug-12 8:32am    
I tried to search Google but I am really new with the sort of programming and all of these solutions I got makes no sense to me
May be you can find many solutions on Google.

There are some implementations:
http://www.c-sharpcorner.com/uploadfile/b942f9/converting-numbers-to-words-in-C-Sharp/[^]

http://www.easysurf.cc/cnvert18.htm[^] --> Right click and see the source code. Translate it to C#

Hope it helps.
 
Share this answer
 
v2

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