Click or drag to resize

LengthConvertFrom Method

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

Namespace: GSF.Units
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.284-beta+805ed69bbaa748bda5f49830845a2ffff2791ae0
Syntax
public static Length ConvertFrom(
	double value,
	LengthUnit sourceUnit
)
View Source

Parameters

value  Double
Source value.
sourceUnit  LengthUnit
Source value units.

Return Value

Length
New Length from the specified value in sourceUnit.
See Also