Utility.GetMassUnitsConversionFactor Method

Gets the scale factor to use for the conversion between massUnitsTypes
Public Shared Function GetMassUnitsConversionFactor( _ 
ByVal fromUnits As massUnitsType, _ 
ByVal toUnits As massUnitsType
) As Double
This language is not supported or no code example is available.
public static double GetMassUnitsConversionFactor( 
massUnitsType fromUnits
massUnitsType toUnits 
)
This language is not supported or no code example is available.

Parameters

fromUnits
massUnitsType

Initial unit.

toUnits
massUnitsType

Target unit.

Return Value

double

The conversion factor.

.NET Framework

Supported in: 4.8

In this article

Definition