-
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
-
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.devx.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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks