Click or drag to resize

ChangeableRelativeUnitGetRelativeValueFromValue Method

Calculated the dimensionless prefactor to multiply the ReferenceQuantity with. Example: Given that the relative unit is 'percent of page with', a value of x=5 is converted to 0.05. The result can then be used to calculate the absolute quantity by multiplying the result of 0.05 with the 'page with'.

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

Implements

IRelativeUnitGetRelativeValueFromValue(Double)
See Also