Forum Discussion
JackCalderone-3
2 years 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
2 years 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
Related Content
- 12 months ago
- 12 months ago
- 12 months ago
- 12 months ago
- 12 months ago