Click or drag to resize

ScriptExecutionBaseSign(Double) Method

Returns an integer that indicates the sign of a double-precision floating-point number.

Namespace: Altaxo.Calc
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static double Sign(
	double s
)

Parameters

s  Double

[Missing <param name="s"/> documentation for "M:Altaxo.Calc.ScriptExecutionBase.Sign(System.Double)"]

Return Value

Double
A number that indicates the sign of value, as shown in the following table.
Return value Meaning
-1value is less than zero.
0value is equal to zero.
1value is greater than zero.
Exceptions
ExceptionCondition
ArithmeticExceptionvalue is equal to NaN.
See Also