Software Design

MAcalc Units Conversion

To access the units conversion press Mode Convert in Floating point calculator.

There are several conversions modules shipped with the calculator but if you have a specific requirement you can create yur own.

Creating a new conversion module

Conversion modules are composed of a "xxx.plist" file and a image file.

Both files must be saved in a directory named "Conversions"

Files must be in a "zip" package format to be transferred to MAcalc via HTTP or FTP.

zip -r .\Conversions

Once transferred to MAcalc, the new conversion module will be available next time MAcalc is started.

Conversion module sample

You can download the sample:

<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" ""> <plist version="1.0"> <dict> <key>FormatVersion</key> <integer>1</integer> <key>Conversions</key> <array> <string>Cano</string> <string>canonical.png</string> <array> <array> <string> Can</string> <string>Canonical</string> <string>x</string> <string>x</string> </array> <array> <string> 2xCan</string> <string>2 x Canonical</string> <string>x / 2</string> <string>x * 2</string> </array> <array> <string> 4xCan</string> <string>4 x Canonical</string> <string>x / 4</string> <string>x * 4</string> </array> </array> </array> </dict> </plist>