Click or drag to resize

UtilGetUnitConversionFactor Method (eumQuantity, eumQuantity)

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: 19.0.0.0 (11.1.1.1111)
Syntax
public static double GetUnitConversionFactor(
	eumQuantity target,
	eumQuantity source
)

Parameters

target
Type: eumQuantity

[Missing <param name="target"/> documentation for "M:DHI.Mike1D.Generic.Util.GetUnitConversionFactor(DHI.Generic.MikeZero.eumQuantity,DHI.Generic.MikeZero.eumQuantity)"]

source
Type: eumQuantity

[Missing <param name="source"/> documentation for "M:DHI.Mike1D.Generic.Util.GetUnitConversionFactor(DHI.Generic.MikeZero.eumQuantity,DHI.Generic.MikeZero.eumQuantity)"]

Return Value

Type: Double

[Missing <returns> documentation for "M:DHI.Mike1D.Generic.Util.GetUnitConversionFactor(DHI.Generic.MikeZero.eumQuantity,DHI.Generic.MikeZero.eumQuantity)"]

See Also