subtracting variables Sep 13, 2012 By Nancy Woinoski Hi Community, can anyone refresh my memory about how to subtract one varaible from another to get a third variable?
Phil Mayor Hero over 11 years ago09/13/12 at 9:12 am (UTC) 1-2=3 Hi Nancy use a trigger to assign the value of one variable (1) to your results (3) variable, use a second trigger to subtract your second variable (2) from your results variable (3)
Nancy Woinoski Author over 11 years ago09/13/12 at 9:25 am (UTC) Thanks Phil, this is what I was doing but was gettling all muddled. I think I need some sleep or more coffee.
Bridgitte Li over 6 years ago08/17/17 at 5:46 pm (UTC) Hi Phil! I'm looking to do the same thing but don't think I'm following :( I have two different variables and I want to be able to calculate the difference between the two. How can I achieve that?
Wendy Farmer Hero Bridgitte Li over 6 years ago08/18/17 at 11:15 am (UTC) Hi Bridgitte perhaps this example .story file will help you NumVariables-SL2-WF.story
Bridgitte Li Wendy Farmer over 6 years ago08/18/17 at 12:50 pm (UTC) Thanks for sharing Wendy! I'll take a look :)
5 Replies
1-2=3
Hi Nancy use a trigger to assign the value of one variable (1) to your results (3) variable, use a second trigger to subtract your second variable (2) from your results variable (3)
Thanks Phil, this is what I was doing but was gettling all muddled. I think I need some sleep or more coffee.
Hi Phil! I'm looking to do the same thing but don't think I'm following :(
I have two different variables and I want to be able to calculate the difference between the two. How can I achieve that?
Hi Bridgitte
perhaps this example .story file will help you
Thanks for sharing Wendy! I'll take a look :)
This discussion is closed. You can start a new discussion or contact Articulate Support.