Forum Discussion
JackCalderone-3
6 months agoCommunity Member
Storyline variable data type bug
Hello e-Learning Hero community!
I have been very disappointed with Storyline recently, and need some help understanding it’s absolute INCONSISTENCY when it comes to handling the data type of its ...
Jürgen_Schoene_
5 months agoCommunity Member
a real 'nice' bug
- with activating a numerical input field - the connected variable switches from number to string
- the incorrect variable type(s) is/are repaired internally on leave (???) the slide
example - all three numeric entries activated -> all three connected vars are string !!!
you have to expand your patch for all numeric entry fields, which are you using
var value1 = Number( player.GetVar('number1') );
var value2 = Number( player.GetVar('number2') );
var value3 = Number( player.GetVar('number3') );
you can use "Number( ... )" or "parseInt( ... )" - both works