What is NumericalChameleon?
The NumericalChameleon is a free, open source, cross platform software in order to convert units. It converts numbers with a precision of up to 1000 significant figures. It supports more than 5300 units in 94 categories. It has been localized in 10 languages.

System requirements
  • Version 1.6.0 (tested with version 1.6.0ga5)


NumericalChameleon on an eComStation machine with Open JDK


Installing NumericalChameleon
Download nc-2.0.1.zip. Next version 2.1.0 needs Java 7 or 8. Make a directory/map with the name "numericalchameleon", you can also open the zipfile and copy the directory/map "numericalchameleon-2.0.1" and rename it later if you don't like the long name. In case you did make your own directory/map, open the zip file, go into the directory "numericalchameleon-2.0.1" and copy all directories/maps to the new created directory. That's it!

The used cmd file
NumericalChameleon works with Open JDK in OS/2-eCS. Some parts don't work because of differences in the Java versions. So no help and alike, but importing exchange_rates works. I have a "nc.cmd" file with the following contents;
@echo off
SET BEGINLIBPATH=[drive: java]\JAVA160ga5\bin
SET path=[drive: java]\JAVA160ga5\bin
[drive: numericalchameleon]
cd [drive: numericalchameleon]\numericalchameleon\bin
java -Duser.home=[drive: numericalchameleon]\numericalchameleon -jar nc.jar 2>nc-bugs.txt
cd [drive: numericalchameleon]\numericalchameleon
I use 2 separate folders (directories), one for Java and one for NumericalChameleon with the files created by this program. The references used in the cmd file;

  • [drive: java] = drive with Java
  • [drive: numericalchameleon] = drive with NumericalChameleon

should be replaced with real drive letters. Save the file and name it "nc.cmd" or use the file from the distribution. This file is copied to the "numericalchameleon" directory/map or the directory name of your choice. Furthermore, different paths?, adjust according to your needs.
Create a new program object. Specify the path and file name: "[drive: numericalchameleon]\numericalchameleon\nc.cmd". In the tabpage Session check the boxes "OS/2 window", "Running as an icon" and "Close Window to end program". In the tabpage General you can enter the name "NumericalChameleon". I have added an OS/2 icon in the distribution.

Parameters / options explained
  • The addition "2>nc-bugs.txt" ensures that errors are saved in the file "nc-bugs.txt". The 2 in "2>" is not a typo! The file stays empty!

Download
In the file you can find the above command file (all drive letters are on set to C:) and an OS/2 NumericalChameleon icon: numericalchameleon-ecs.zip.

revision January 4, 2020