Click or drag to resize

UtilGetUnitConversionFactor Method

Get a unit conversion factor from target unit to source unit. Undefined units are treated as SI unit, and does not contribute to the factor. Units need not be equivalent.

See also UnitConversionFactors(eumUnit, eumUnit, Double, Double, Boolean) for details.

Namespace:  DHI.Mike1D.Generic
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
C#
public static double GetUnitConversionFactor(
	eumUnit targetUnit,
	eumUnit sourceUnit
)

Parameters

targetUnit
Type: eumUnit
sourceUnit
Type: eumUnit

Return Value

Type: Double
See Also