Support

HomeMxConverter 2.xMxConverter for Pocket PC ManualCreating new conversions and units

2.3. Creating new conversions and units

To create a new blank unit conversion file:

  • Select New, Unit Conversion from File menu
  • Enter a title of the file in Title field
  • Enter a new category or select an existing category in Category field
  • Enter a new file name
  • Select OK to create the new file.


With the blank conversion file, start adding units to it:

  • Select Add Unit from Edit menu
  • Enter unit full name in Name field
  • Enter unit short name in Identifier field
  • Enter default value expression (usually 0) in Value field
  • Select OK to save new unit.

After the unit is added to the conversion, you need to define formula to connect it to other units. In other words you need to tell MxConverter how to calculate its value from or to other existing units. To add a conversion formula:

  • Select Conversions from Edit menu
  • Select Add button to add a new conversion formula. If the conversion is as simple as multiply other's value with a constant (linear), select standard. If the formula involve more complex calculation, select Advanced.
  • Select the first unit in From field, and second unit in To field. Enter constant or formula in formula fields.
  • Select OK to save.

With every new unit, you need to add one formula to calculate its value from another one. MxConverter is smart enough to compute between 2 units that do not directly connected. For example if you have a new currency called XYZ, all you need to do is adding a conversion formula from XYZ to USD (or another currency). MxConverter knows how to convert from EUR to XYZ by using 2 formulas: EUR to USD then USD to XYZ.

If you select Advanced to create a complex formula between 2 units, use variable named x as an input value of the calculation. There will be 2 formulas to enter:

· Forward: Convert value from Unit 1 (From) to Unit 2 (To) with x being value in Unit 1

· Reverse: Convert value from Unit 2 (To) back to Unit 1 (From) with x being value in Unit 2.

For example converting between Miles per Gallon and Gallons per Mile:

Forward formula: 1/x
Reverse formula: 1/x

See also:

· Creating new calculation

This page was: Helpful | Not Helpful