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.110 -- Release Build+3e0464f4461df4d3e1175b13966eb47ff832554d
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