EnergyConvertFrom Method

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

Definition

Namespace: Gemstone.Units
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.147 -- Release Build+759c9d29b79c81f10905de8f58b653be932045f0
public static Energy ConvertFrom(
	double value,
	EnergyUnit sourceUnit
)

Parameters

value  Double
Source value.
sourceUnit  EnergyUnit
Source value units.

Return Value

Energy
New Energy from the specified value in sourceUnit.

See Also