EnergyConvertFrom Method
Converts the
value in the specified
sourceUnit to a new
Energy in joules.
Namespace: Gemstone.UnitsAssembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.128 -- Release Build+d050cfc5563c89a1188cc3c6b2d417530856f490
Public Shared Function ConvertFrom (
value As Double,
sourceUnit As EnergyUnit
) As Energy
Gemstone.Units.Energy.ConvertFrom = function(value, sourceUnit);
- value Double
- Source value.
- sourceUnit EnergyUnit
- Source value units.
EnergyNew
Energy from the specified
value in
sourceUnit.