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.137 -- Release Build+84492f84208b356bfb930d6c506a4bce06d2449a
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