DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Witold Iwaniec Guest

    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

  2. #2
    Paul Clapham Guest

    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




Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


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


Sponsored Links