Converts a temperature value from one 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,
TemperatureRepresentation srcUnit,
TemperatureRepresentation destUnit
)
Parameters
- srcValue Double
- The source value to convert.
- srcUnit TemperatureRepresentation
- The source unit of srcValue.
- destUnit TemperatureRepresentation
- The destination unit to convert to.
Return Value
DoubleThe converted value expressed in
destUnit.
See Also