Négation d'un nombre : rend négatif un positif, et positif un négatif.

Equivalent à ?x = -?x

Attention, ne retourne pas une valeur, mais modifie la variable fournie.


negate a
aVariable
source?x = 10 print "1) ?x" negate ?x print "2) ?x" negate ?x print "3) ?x" exécution1) 10 2) -10 3) 10