Click or drag to resize

EnergyFromTo Method

Converts a value from one energy unit to another.

Namespace: Altaxo.Science
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public 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

Double
The converted value expressed in destUnit.
See Also