• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How can I convert numeric to words.

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Sheriff
Posts: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 .
 
Hug your destiny! And hug this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic