File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Converting words to numbers

 
Adrian Tan
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

I'm just wonderng how you'll convert words into numbers..

i.e. ten -> 10
one thousand ten -> 1010

or is there an available library that do this?

thanks.
 
Dawn Charangat
Ranch Hand
Posts: 249
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure you can find one readily available for Java, though it is not that tough to do it yourself... if you are looking only for the logic involved, may be this can help... It is VBA, by the way.

http://support.microsoft.com/kb/213360
 
Christophe Verré
Sheriff
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dawn Charangat wrote:Not sure you can find one readily available for Java, though it is not that tough to do it yourself... if you are looking only for the logic involved, may be this can help... It is VBA, by the way.

http://support.microsoft.com/kb/213360

Adrian wants to do the opposite. Convert English strings to numbers, not numbers to English strings.
 
Dawn Charangat
Ranch Hand
Posts: 249
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oops... my bad... Thanks for that Christopher..

Sorry Adrian... not sure if I know the answer to that question. I will keep looking though.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic