Forum Discussion
WilliamRyan-dba
6 months agoCommunity Member
Math operations on 2 numeric fields
Hi there. I'm curious if it's possible to perform a math operation based on the following scenario:
var3=var1+(var2/2)
How would those triggers look...? Thanks in advance...
Nedim
6 months agoCommunity Member
I can confirm that both Jud's and Cary's solutions would work in Storyline. Alternatively, you could use JavaScript to calculate the result. The advantage is that you can easily replace operators in different scenarios without needing to adjust the triggers yourself. See the attached video for a demonstration.