NaN

Bugs will be moved here once resolved.

Post » Wed Aug 15, 2012 10:31 am

@ranma

Thank you so much!
B
57
S
7
G
6
Posts: 52
Reputation: 7,238

Post » Wed Aug 15, 2012 10:33 am

no problem, have fun!
B
81
S
50
G
11
Posts: 555
Reputation: 13,579

Post » Fri Aug 17, 2012 7:33 pm

Setting a global variable already casts the value if necessary - you can set a global number variable to "55" for example, and it will set it to the number 55. I think in this case WebStorage returned an empty string or something which is not a number, and that cannot cast to a number so you get NaN. Seems to be expected behavior... is there anything to fix here?
Scirra Founder
B
386
S
229
G
87
Posts: 24,207
Reputation: 191,692

Previous

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests