Method UnitConvertFrom
UnitConvertFrom(UnitType, double)
Converts a value measures in a given unit to the catalog measurement units.
Declaration
public double UnitConvertFrom(Appli.UnitType sourceUnit, double value)
Parameters
Type | Name | Description |
---|---|---|
Appli.UnitType | sourceUnit | A measurement unit in which the value is given. |
double | value | A value to convert. |
Returns
Type | Description |
---|---|
double | Value expressed in the catalog measurement units. |