|
EnergyConvertFrom Method
|
Converts the
value in the specified
sourceUnit to a new
Energy in joules.
Namespace: GSF.UnitsAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.305-beta+8726171b3e0af488d8188c8ec8e976599ba45d1f
SyntaxGSF.Units.Energy.ConvertFrom = function(value, sourceUnit);
View SourceParameters
- value Double
- Source value.
- sourceUnit EnergyUnit
- Source value units.
Return Value
EnergyNew
Energy from the specified
value in
sourceUnit.
See Also