File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes java code for equivalent of number in words Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "java code for equivalent of number in words " Watch "java code for equivalent of number in words " New topic

java code for equivalent of number in words

Bondu Sam

Joined: Jan 24, 2003
Posts: 8
i have to print amount in words on the cheque for UK currency in my application. It would be of great help if anyone could give me readymade code for converting the amount in numbers to amount in words.
Junilu Lacar

Joined: Feb 26, 2001
Posts: 6529

Yeah, I could do that but you have to promise that your first successful cheque printed be made out to me for 50 pounds
Seriously, I think your best bet would be to do a web search on AmountToWords or NumberToWords.
BTW, "Sam", please update your publicly displayed name to conform with our Naming Policy. You can do that here. Thanks for your cooperation.

Junilu - [How to Ask Questions] [How to Answer Questions]
Peter den Haan
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
Looking at the miraculously simultaneous appearance with this thread, you'd guess it is homework time again, and this time 'round they don't even check if any of their fellow students has asked already
- Peter
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Better still, they can join the CattleDrive and do Java4a/b

Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
subject: java code for equivalent of number in words
It's not a secret anymore!