For the complete documentation index, see llms.txt. This page is also available as Markdown.

Decrease variable

Decrease variable is used to subtract a numeric value (defined in the Decrease by section) from a variable.

In the Output variable cell, you can enter the same name as the old variable to subtract the value cumulatively, or enter a completely different variable name to store the result in a new variable without changing the old variable.

  • Decrease by: The amount you want to subtract (For example: 1, 2, 5...).

  • Example: You have a variable $countdown = 10.

    • If you enter Output variable as $countdown and Decrease by as 1 ➡️ The variable $countdown will decrease to 9 (cumulative subtraction).

    • If you enter Output variable as $previousRow and Decrease by as 1 ➡️ The variable $countdown remains 10, while the new variable $previousRow will have the value 9.

    🎥 See more tutorial video: Here.

Last updated

Was this helpful?