ScriptExecutionBaseSign(Double) Method |
Returns an integer that indicates the sign of a double-precision floating-point number.
Namespace: Altaxo.CalcAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static double Sign(
double s
)
Parameters
- s Double
[Missing <param name="s"/> documentation for "M:Altaxo.Calc.ScriptExecutionBase.Sign(System.Double)"]
Return Value
DoubleA number that indicates the sign of
value, as shown in the following table.
| Return value | Meaning |
|---|
| -1 | value is less than zero. |
| 0 | value is equal to zero. |
| 1 | value is greater than zero. |
Exceptions
See Also