This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Java in General and the fly likes Numeric value convert to word  format Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Java in General
Bookmark "Numeric value convert to word  format" Watch "Numeric value convert to word  format" New topic

Numeric value convert to word format

Mahendra Darwatkar

Joined: Apr 07, 2000
Posts: 20
Hi !!
Can anybody guide me how can i convert value 125 to word format "One Hundred Twenty Five"

Awaiting reply...
Preethi Suryam
Ranch Hand

Joined: Nov 17, 2000
Posts: 92
Hi Mahendra!
We don't have any methods or functions to convert a value to a word format.
kavya krushi
Ranch Hand

Joined: Oct 25, 2000
Posts: 48

hi there,
You can parse your string(125) and then print it. HAve a look at cattle drive assignment "Say" and you can get a good Idea.
I agree. Here's the link:
subject: Numeric value convert to word format
jQuery in Action, 3rd edition