Here's how I generally handle subtraction:
var number = 10
# method 1: writing the subtraction out as a variable assignment
number = number - 1
print (number) # will print 9
# method 2: using the -= shorthand, which does the same as method 1
# but without needing to write an assignment.
number -= 1
print (number) # will print 8