Converts a value from the specified unit to Joule (SI unit of energy).
Namespace: Altaxo.ScienceAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic static double ToJoule(
double srcValue,
EnergyRepresentation srcUnit
)
Parameters
- srcValue Double
- The source value to convert.
- srcUnit EnergyRepresentation
- The source unit of srcValue.
Return Value
DoubleThe converted value expressed in Joule.
See Also