forked from QB64-Phoenix-Edition/QB64pe
-
Notifications
You must be signed in to change notification settings - Fork 0
Negation
Samuel Gomes edited this page Nov 8, 2022
·
1 revision
'Negation is the process of changing the sign of a positive number to negative.
Usage: number% = -number%
Negation can be performed by adding a negative (- minus) sign to a number or by multiplying or dividing a number by any negative value. If a negative value is negated, the value of the number becomes positive.
- *, /
- [](Integer-division)
- Mathematical Operations