IRelativeUnitGetRelativeValueFromValue Method |
Calculates the dimensionless prefactor to multiply the
ReferenceQuantity with.
Example: Given that the relative unit is 'percent of page width', a value of
x = 5 is converted to 0.05. The result can then be used
to calculate the absolute quantity by multiplying 0.05 with the page width.
Namespace: Altaxo.UnitsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxdouble GetRelativeValueFromValue(
double x
)
Parameters
- x Double
- Numerical value to convert.
Return Value
Double
The prefactor to multiply the
ReferenceQuantity with in order to get the absolute quantity.
See Also