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.254-beta+b1c32a8191971a5ec09744a3eb270cb5508e892c
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