Forum Discussion
JackCalderone-3
5 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 ...
JoeFrancis
5 months agoCommunity Member
parseFloat() is more lenient than Number() because it ignores trailing invalid characters, which would cause Number() to return NaN.
parseFloat() the following
3.14
"3.14"
" 3.14 "
"314e-2"
"0.0314E+2"
"3.14some non-digit characters"
All return 3.14