Simple multiplication of variables By David Oswald Hi there Can anyone point me in the right direction for a simple tutorial on multiplying numbers stored as variables in Storyline2? Basically I need to take 3 numeric inputs and multiply them together and then display the answer as another variable. Thanks in advance

David Oswald Author almost 6 years ago10/04/16 at 7:25 am (UTC) Hi Russell This is excellent. Super clear and simple. I really appreciate your help. Have a great day. David

David Oswald Author David Oswald almost 6 years ago10/04/16 at 8:06 am (UTC) Hi Russell Just a quick question. Now I've got the multiplication I'm trying to use the result for a further calculation but it's not working. Basically I'm trying to take that result then multiply by a variable and then divide that result by 2. Effectively I'm trying to do (a*b*c)*d/2. Sorry, I though I had it but I'm now struggling again. Thanks, David

David Oswald Author almost 6 years ago10/04/16 at 3:20 pm (UTC) Hi Russell This is perfect. Got it nailed this time. Thanks again, David

Xuan Su Nguyen Russell Killips over 2 years ago03/11/20 at 8:38 am (UTC) Hi Russell Killips, If you don't use Numeric Entry, can you multiply 2 numbers together?For example, instead of using Numeric Entry, use shapes so that when you click on a button, it calculates. 1 * 2, Result = 2 then click Calculate button. Thanks,

Phil Mayor Hero Xuan Su Nguyen over 2 years ago03/11/20 at 9:03 am (UTC) You would have to store the numbers (at least 1) in a variable

Phil Mayor Hero over 2 years ago03/11/20 at 9:08 am (UTC) Thinking about it you could just do a state change with the answer, so calculate has a visited state and you change the text to 2

Marti Jordan Russell Killips 2 years ago05/20/20 at 12:38 am (UTC) This just helped me SOOOOOOOOOOOOO much. 3 years old too. Russell is my hero of the day. And David for asking the RIGHT questions.

## 10 Replies

Here is an example.

Multiply.storyHi Russell

This is excellent. Super clear and simple.

I really appreciate your help.

Have a great day.

David

Hi Russell

Just a quick question.

Now I've got the multiplication I'm trying to use the result for a further calculation but it's not working.

Basically I'm trying to take that result then multiply by a variable and then divide that result by 2.

Effectively I'm trying to do (a*b*c)*d/2.

Sorry, I though I had it but I'm now struggling again.

Thanks,

David

Here you go.

Multiply.storyHi Russell

This is perfect. Got it nailed this time.

Thanks again,

David

Hi Russell Killips,

If you don't use Numeric Entry, can you multiply 2 numbers together?

For example, instead of using Numeric Entry, use shapes so that when you click on a button, it calculates.

1 * 2, Result = 2 then click Calculate button.

Thanks,

You would have to store the numbers (at least 1) in a variable

Thinking about it you could just do a state change with the answer, so calculate has a visited state and you change the text to 2

Thanks you Mayor,

I tried and succeeded.

This just helped me SOOOOOOOOOOOOO much. 3 years old too. Russell is my hero of the day. And David for asking the RIGHT questions.