Sign
- Last UpdatedJul 18, 2023
- 1 minute read
Gets the sign of a number.
Syntax
Sign(Number)
Number:
Any number.
Return Value
The sign of Number.
Related Functions
Example
Variable=Sign(100);
! Sets Variable to 1.
Variable=Sign(-300);
! Sets Variable to -1.
Variable=Sign(0);
! Sets Variable to 0.