Defining Metric-to-English Unit Conversions

To allow the user interface to display converted values from metric-to-English and English-to-metric, the dimension that controls these units must be updated.

  1. Start an MQL session. For more information, see Running MQL.
  2. To set the context for the MQL session, run this command:

    set context user creator;

  3. To define the conversion rates, run this command:

    modify dimension "$sdimension" \
         modify unit kg system english to unit lb \
         modify unit lb system metric to unit g \
         modify unit cg system english to unit lb \
         modify unit g system english to unit lb \
         modify unit mg system english to unit lb \
         modify unit T system english to unit lb \
         modify unit oz system english to unit lb;

    For more information, see the MQL Command Reference: dimension Command.