SIGN
- Last UpdatedMar 20, 2025
- 1 minute read
The SIGN() function produces a stream of results indicating the sign of a stream's values.
Syntax
|
Format |
Stream = SIGN( Stream ) |
|
Arguments |
Stream - A stream of values |
|
Description |
Returns a stream that is a copy of the input stream, with all values replaced based on their sign. Positive values are replaced with 1, negative values are replaced with -1, and zero values remain zero. |