| Maptitude GISDK Help |
Computes the sign of a number.
sgn = Sign(real value)
| Argument | Contents |
|---|---|
| value | Any number |
-1 if value is less than zero, 1 if value is greater than zero, 0 if value is equal to zero.
y = Sign(x) * Abs(y) // Changes y to have the same sign as x
| Function | Summary |
|---|---|
| Abs() | Computes the absolute value of a number |
| ©2025 Caliper Corporation | www.caliper.com |