Click or drag to resize

SIPrefixListGetPrefixFromExponent Method

Gets the prefix from the given exponent. Example: given an exponent of 9, this call will return the Giga with a remaining factor of 1.

Namespace: Altaxo.Units
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public (SIPrefix prefix, double remainingFactor) GetPrefixFromExponent(
	int exponent
)

Parameters

exponent  Int32
The exponent.

Return Value

ValueTupleSIPrefix, Double
The prefix, and a remaining factor. If the exponent is greater than or equal to the exponent of the smallest Prefix (SmallestPrefix), the remaining factor is greater then or equal to 1.
See Also