This Java applet is a demonstration of the Java classes that provide a semantic key to units of measures. The syntax for units of measures is based on the standard ISO 2955. ISO 2955 is tailored to an ASCII character set without requiring special characters. It is easy to input ISO 2955 units on a computer keyboard. One somewhat odd behavior inherited from ISO 2955 is that the period in unit terms is not a decimal point but a multiplication operator.
You can select different standard codes for units using the choice box. In order to see what unit symbols are defined by these codes, you can browse the source definition files that are loaded by the applet. These are simple ASCII files that define prefices, base units and derived units.
I strongly recommend to browse the table of known units before using
it the first time, as it gives a hint on which units are defined and
what their proper abbreviation is. This converter usually has only one
abbreviation symbol for each unit, i.e. you can't say
By default, my comprehensive table of units is used. This defines all units from SI, ISO 1000, plus a wide range of U.S. and British customary units, including, but not limited to ANSI X3.50. Customary units are usually written in square brackets, in order to avoid name conflicts. A conflict summary is appended to each table as comments. Learn more about name conflicts here.
|The Regenstrief Unit Conversion Tool||
A draft version of an Article describing the idea.
The complete specification of the Unified Code for Units of Measure that is driving this applet.
The units classes for use in your own Java programs: units.zip.
JAVA units API documentation (still a bit terse, though).
The GPL copyrighted source code in tar gzip or ZIP
You may also browse the source code here .
There is code for an an older Unit Converter written in C++, but the service is no longer offered here.