Separate lines - one after the other, with the endif that matches the first one after everything that should happen if that's true.
Also, think about the amount you're subtracting - do you have another value that will be the same as the amount you want to subtract, that you could use instead of having a separate if...endif for each possible number?
|