Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Number to string

Hi
Is there a class, method that would return the text value of a number? eg
pass 1, returns "one"
pass 25, returns "twenty five"
Thanks
Witold
[178 byte] By [Witold Iwaniec] at [2007-11-9 22:28:16]
# 1 Re: Number to string
Yes, there is. Go to IBM Alphaworks (http://www.alphaworks.ibm.com/tech);
in the left frame select "Java" and then "Rule-based Number Format". Comes
in several languages, too.

(The license agreement allows you to use it for 90 days and then requires
you to delete the software. This may be a consideration for you.)

PC2

"Witold Iwaniec" <witold.iwaniec@atl.bluecross.ca> wrote in message
news:3b053c50$1@news.dev-archive.com...
>
> Hi
>
> Is there a class, method that would return the text value of a number? eg
> pass 1, returns "one"
> pass 25, returns "twenty five"
>
> Thanks
>
> Witold
Paul Clapham at 2007-11-11 23:04:43 >