ConvertUnit method

Translates one unit of measure to another.

Syntax

object.ConvertUnit(Value, From, To)

Where:

     object is the Utility object;

     Value is a double-precision variable (or value) representing the item to be converted;

     From is a String representing the unit from which the conversion will be made;

     To is a String representing the unit to which the conversion will be made.