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.177 -- Release Build+17e3a8c30c12a6a5a57ad4af156d7b83be281c33
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