Run Equation on Variable
Last updated
Last updated
Run an equation using the value of a custom variable. The custom variable will be set to the result of the equation.
The Custom Variable to run the equation on.
You can use this to round the variable to the nearest whole number (true), or a decimal (false).
You can use this to perform a calculation on your variable. See the list of examples below.
Your variable can go into a negative.
In this case, the value of the variable is increasing by 3 plus 6, divided by 6, minus a random number from 1 to 5.
Use any combination of numbers and operations to add/subtract/multiply/divide your variable.
var + 5
Adds the value of 5 to your numbered variable.
var * 2
Multiplies the value of your variable by 2.
var / 2
Divides the value of your variable by 2.
var - 5
Subtracts the value of your variable by 5.
var * (5+2)
Multiples the value of your variable by 5+2 (7).
var + {random_[1,10]}
Adds the value to your variable by a random number from 1 to 10.