FloatingPointComparisonGetVariableExponent Method |
Returns the order N of the given variable of the form: var * 10^-(N+1) is less than 0.0
Namespace:
AGI.Foundation
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public static int GetVariableExponent(
double var
)
Public Shared Function GetVariableExponent (
var As Double
) As Integer
public:
static int GetVariableExponent(
double var
)
static member GetVariableExponent :
var : float -> int
Parameters
- var
- Type: SystemDouble
The variable
Return Value
Type:
Int32The order of the variable
See Also