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 ...
MathNotermans-9
6 months agoCommunity Member
Always use ' parseInt( )' to process calculations. As is variables in Storyline can tend to be strings. When they change to strings i cannot pinpoint precisely, so best to parseInt/toNumber or parseFloor variables of which you know they should be numeric. Using typeOf you can check whether vars are strings.