diff
Returns the difference between two numbers.
For the absolute difference — i.e. the value without its sign — use absDiff instead.
Parameters
X (number)
The number to subtract from.
Y (number)
The number to subtract.
Examples
ATL in Script | Result |
---|---|
| 2 |
| -2 |
| -16 |
| 16 |
| -2 |