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 (24.4.0.1000)
Syntax
public static int SignNonzeroValue(
	double value
)

Parameters

value
Type: SystemDouble
The value to inspect.

Return Value

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