🟦 Decrement
The Decrement block allows you to decrease the value of a numeric variable by subtracting an integer. This is the combination of an Expression and Assignment block.
The block acts as a triggering of a substraction. For this reason, be careful when you set a value : a positive one will result in a substraction, whereas a negative one will result in an addition. You can also link a numeric variable to the value input.
![](https://storage.crisp.chat/users/helpdesk/website/87a8e2db05525000/33587803-e941-4011-8460-08a0d2_1ef4yxo.png)
The block acts as a triggering of a substraction. For this reason, be careful when you set a value : a positive one will result in a substraction, whereas a negative one will result in an addition. You can also link a numeric variable to the value input.
![](https://storage.crisp.chat/users/helpdesk/website/87a8e2db05525000/33587803-e941-4011-8460-08a0d2_1ef4yxo.png)
Updated on: 29/03/2021
Thank you!