|
|
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Returns a value indicating the sign of the specified number.
Namespace: Smartsite.Runtime.Modules
Assembly: Smartsite.Runtime.Modules (in Smartsite.Runtime.Modules.dll)
Syntax
| C# | |
|---|---|
[(IsDeterministic = true)] public static int Sign( double a ) | |
| Visual Basic (Declaration) | |
|---|---|
<(IsDeterministic := True)> _ Public Shared Function Sign ( _ a As _ ) As Integer | |
Parameters
- a
- Double
A signed number.
Return Value
A number indicating the sign of value: -1 if a is less than zero, 0 if a is equal to zero, 1 if a is greater than zero.
See Also
MathViperModule Class
Smartsite.Runtime.Modules Namespace