📝 new command neg
This commit is contained in:
parent
78ab4548da
commit
23505492d4
@ -65,6 +65,12 @@ ${$name}
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## BOOLEAN LOGIC ##
|
||||||
|
# negate the value stored in $1
|
||||||
|
neg|negate|inv|invert $1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## MATH ##
|
## MATH ##
|
||||||
# $1 + $2 + ... => $1
|
# $1 + $2 + ... => $1
|
||||||
add $1 $2 ...
|
add $1 $2 ...
|
||||||
@ -99,6 +105,9 @@ ceil $1
|
|||||||
# round down to the last integer => $1
|
# round down to the last integer => $1
|
||||||
floor $1
|
floor $1
|
||||||
|
|
||||||
|
# invert the value stored in $1
|
||||||
|
neg|negate|inv|invert $1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## CONDITIONS ##
|
## CONDITIONS ##
|
||||||
|
Reference in New Issue
Block a user