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.138 -- Release Build+dacff88cce10d287c7434d5aac59c76948c712b1
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.