sign( number )
Returns the number divided by its absolute value, which is 1 if the number is positive and -1 if the number is negative.
Keyword | Type | Description |
---|---|---|
|
Decimal |
The number that will be divided by its absolute value. |
Integer
If the number value is equal to zero, the function returns 1
.
sign(-3)
returns -1
Feature | Compatibility | Note |
---|---|---|
Portals | Compatible | |
Offline Mobile | Compatible | |
Sync-Time Custom Record Fields | Compatible | Can be used to create a custom record field that only evaluates at sync time. |
Real-Time Custom Record Fields | Incompatible | |
Process Reports | Compatible | |
Process Events | Compatible |
sign() Function