Click or drag to resize

EnergyConvertFrom Method

Converts the value in the specified sourceUnit to a new Energy in joules.

Namespace: GSF.Units
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.264-beta+d1c3a754a4d50e5c740e530e6875e878ac32de9a
Syntax
public static Energy ConvertFrom(
	double value,
	EnergyUnit sourceUnit
)
View Source

Parameters

value  Double
Source value.
sourceUnit  EnergyUnit
Source value units.

Return Value

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