Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How can I convert numeric to words.

 
Bhupathi Naresh kumar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9059
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Dick Summerfield
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic