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