2 Replies
Maria Costa-Stienstra

Hi, Emily.

Thank you for reaching out!

You can certainly do math calculations using Storyline variables. You just need to be careful with the order of triggers.  

In your example above, RawScore needs to be converted to a percentage. Let's pretend the maximum score is 70 points. 

The calculation would be Percentage = RawScore x 100 / 70.

In Storyline, we would create a second number variable, called Percentage. Then we would add triggers to perform the calculation based on the user's action. It can be once they press a  button, for example, or you can have it happen as soon as the timeline starts on the slide.

Windows 10 (1) 2021-04-27 at 4.24.01 PM

In the example above, we make Percentage equal RawScore. Then we multiply it by 100 and divide it by 70. The variable Percentage should now equal the value we need.

Let me know if this works!