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.218-beta+101eee949414e414795e55a6e73d88938f0177b8
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