LengthConvertFrom Method

Converts the value in the specified sourceUnit to a new Length in meters.

Definition

Namespace: Gemstone.Units
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.141 -- Release Build+8fc1477299d57116e2a4f3cb8dfe059f814b239b
public static Length ConvertFrom(
	double value,
	LengthUnit sourceUnit
)

Parameters

value  Double
Source value.
sourceUnit  LengthUnit
Source value units.

Return Value

Length
New Length from the specified value in sourceUnit.

See Also