MassConvertFrom Method
Converts the
value in the specified
sourceUnit to a new
Mass in kilograms.
Namespace: Gemstone.UnitsAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.128 -- Release Build+d050cfc5563c89a1188cc3c6b2d417530856f490
public static Mass ConvertFrom(
double value,
MassUnit sourceUnit
)
Public Shared Function ConvertFrom (
value As Double,
sourceUnit As MassUnit
) As Mass
public:
static Mass ConvertFrom(
double value,
MassUnit sourceUnit
)
Gemstone.Units.Mass.ConvertFrom = function(value, sourceUnit);
- value Double
- Source value.
- sourceUnit MassUnit
- Source value units.
MassNew
Mass from the specified
value in
sourceUnit.