Help Files
Converting

Unit conversion

uc (expr, unit [, factor])

parameters

  1. expr:

    Stream of data to be unit converted.

  2. unit:

    Units to be converted to.

    values:
    bbl – Barrels
    gal – Gallons
    ltr – Liters
    mt – Metric Tons
    st – Short Tons
    gj – Gigajoules
    mmb - MMBTUs
    thm - Therms
    gwh - Gigawatt Hours
    mwh - Megawatt Hours
    kwh - Kilowatt Hours
    kltr - Kiloliters
    mscf - Thou/Std Cubic Ft.
    lb - Pounds
    grm - Grams
    toz - Troy Ounces
    cm - Cubic Meters
    required.

  3. factor:

    User supplied conversion factor.

    value: rational number
    optional.

Examples

uc("/GCL[0]", LTR)

Currency conversion

cc (expr, currency [, source])

parameters

  1. expr:

    Stream of data to be currency converted.

  2. currency:

    Currency code for currency to be converted to.

    values: standard three letter currency codes.
    required.

  3. source:

    Currency conversion source to be used.
    optional.

examples

cc("/GCL[0]", EUR)
cc("/GCL[0]", EUR, USF)
cc(uc("/GCL[0]" , MT), EUR)