MathHelperSignNonzeroValue Method |
Returns either -1 or 1 if the specified value is less than 0 or greater than or equal to 0, respectively.
Namespace: Dundas.BI.UtilityAssembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntaxpublic static int SignNonzeroValue(
double value
)
Public Shared Function SignNonzeroValue (
value As Double
) As Integer
public:
static int SignNonzeroValue(
double value
)
static member SignNonzeroValue :
value : float -> int Parameters
- value Double
- The value to inspect.
Return Value
Int32Return -1 if the value is less than 0, otherwise 1.
See Also