# Storyline variables

Apr 03, 2013

Hi all!

I am having two small problems with variables and was hoping someone could look at this test scene. I have created a math class and wanted the students to work on some problems using storyline.

1) in the rate box, I need to put a two digit decimal number, in this case, point 25 variable would be .25. Whenever I do that, SL converts the number to 0.2, which of course gives the wrong answer. Is this a bug or is there a workaround. In all cases, I found SL only to hold two digits. With whole numbers that is fine but now with decimals, I need those two digits and not include the leading zero or the zero before the decimal point.

2) If I put the wrong number in all the boxes or variable values, it goes to my wrong slide, however, if one of the numbers is incorrect, the slide should go to the wrong answer slide but does nothing instead. This makes is hard for the student to know what do to. Again, it works perfectly if they put in all wrong answers but does nothing if any one of the variables is correct and the others are wrong.

Thanks in advance for your help!

Elaine

## 3 Replies

Hello Elaine! I took a look at your variables and tweaked your triggers some, so it should work now. See attached file. Below are a few helpful tips that may help you next time you work with variables:

If Rate Not Equal to 0.25.....

Good luck with your course

mathtest_modified.storyYou are a rock star! This worked perfectly! Thank you so much for your rapid response!

No problem! Glad it worked for you

## This discussion is closed. You can start a new discussion or contact Articulate Support.