Number to string


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Number to string

  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




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


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center