| SGN Function | Reference/Commodore BASIC V3.5
SGN(X)
This function returns a numeric value.
This function returns the SiGN (positive, negative, zero) of the value in X.
The results are 1: Positive 0: Zero -1: Negative
S SHIFT+G
|
| |
Copyright © Plus/4 World Team, 2001-2024. Support Plus/4 World on Patreon |