aspose file tools*
The moose likes Cattle Drive and the fly likes How can I convert numeric to words. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "How can I convert numeric to words." Watch "How can I convert numeric to words." New topic
Author

How can I convert numeric to words.

Bhupathi Naresh kumar
Greenhorn

Joined: Mar 25, 2008
Posts: 1
How can I convert numeric to words. Say if the user supplies 465 convert it to four hundred and fifty six, convert 34 to thirty four and so on.
[ March 25, 2008: Message edited by: Marilyn de Queiroz ]
Marilyn de Queiroz
Sheriff

Joined: Jul 22, 2000
Posts: 9047
    
  10
Hi, Bhupathi Naresh kumar. Welcome to JavaRanch.

Have you seen this Cattle Drive assignment? There are some links with hints on that page.

What have you tried so far? What are you stuck on? Nobody here will write the code for you, but we are very happy to answer questions and help you figure things out for yourself.

Please read Use The Forum Not Email in our FAQ regarding email responses.


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Dick Summerfield
Ranch Hand

Joined: Oct 04, 2007
Posts: 90
Hi Bhupathi,
Welcome to the Cattle Drive forum!
I think it's safe to say that many Java students are given this problem to solve. So if you search the web you will find enough examples of code which will give you things to try out and give you a start on your own solution.
You could also search this forum (The 4th assignment of the Cattle Drive (Java-4a and -4b) is concerned mainly with this conversion) but you won't find any code here as that would be giving the solutions away, which is not the idea .
 
Don't get me started about those stupid light bulbs.
 
subject: How can I convert numeric to words.