download25.com

Your free TOP 25 download source!

InWords 4.0

Java code to converts number to words in any of 15 languagues.
Publisher: Canadian Mind Products
Category: Development Tools
Version: 4.0
License: shareware
Cost: 10$
Size: inwords40.zip 0.71 MB
Updated: 17 Jun 2007
Screenshot: view screenshot
Bookmark: Click here
Review
Shows you how to count in any of the following languages:

Bahasa Indonesia
Binary
Decimal
Dutch (modern, old and banker's)
English (British, North American, Ordinals)
Esperanto
French
German
Hexadecimal
Icelandic
Japanese
Martian
Metric Metric Prefixes (grams)
Norwegian
Octal
Polish
RAM (bytes)
Roman Numerals
Swedish
Swiss French
Tagalog

You can enter a number and it spells it out in words: e.g.
-12345 to "minus twelve thousand three hundred forty-five"

The classes it uses for conversion can be easily
cannibalised for your own applications, e.g. writing cheques
out in words.

for example:

String numStr = BritishEnglish.inWords(-1234);

will generate the string:

"minus one thousand two hundred four"

handles longs up to Long.MAX_VALUE, namely:
9,223,372,036,854,775,807

Useful to learn to count in a foreign language. The InWords
package classes are also useful for cheque writing or legal
documents.

You can run a batch test of any language with

java com.mindprod.inwords.Polish

where Polish is the name of the class handling the language you
want to test.

You can also run it as an Applet or a standalone GUI application.

To install, Extract the zip download with Winzip, available from
http://www.winzip.com (or similar unzip utility) into any
directory you please, often C:\ -- ticking off the "user
folder names" option. To run as an application, type:

java -jar C:\com\mindprod\inwords\inwords.jar

adjusting as necessary to account for where the jar file is.

Tags: Number | In Words | Spell Out | Cheque | Check

download (inwords40.zip - 0.71 MB)