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.Utility
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax
public static int SignNonzeroValue(
	double value
)

Parameters

value  Double
The value to inspect.

Return Value

Int32
Return -1 if the value is less than 0, otherwise 1.
See Also