evaluate[-24]-[-22]

the brackets are supposed to be "bars".
Is this the same as saying 24-22? do the bars mean the "absolute value" of the number? If so, is the answer 2?

Yes, you are correct! ans: 2.