NaN

Bugs will be moved here once resolved.

Post » Wed Aug 15, 2012 10:31 am

@ranma

Thank you so much!
B
53
S
7
G
6
Posts: 51
Reputation: 7,136

Post » Wed Aug 15, 2012 10:33 am

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

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
359
S
214
G
72
Posts: 22,946
Reputation: 178,478

Previous

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest