MassConvertFrom Method

Converts the value in the specified sourceUnit to a new Mass in kilograms.

Definition

Namespace: Gemstone.Units
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.137 -- Release Build+84492f84208b356bfb930d6c506a4bce06d2449a
public static Mass ConvertFrom(
	double value,
	MassUnit sourceUnit
)

Parameters

value  Double
Source value.
sourceUnit  MassUnit
Source value units.

Return Value

Mass
New Mass from the specified value in sourceUnit.

See Also