Global variable - Number conversion

Bugs will be moved here once resolved.

Post » Tue Aug 09, 2011 2:10 pm

1) Add a new global variable
2) Select type Number
3) Initial value = Bob
4) Press OK
5) Value is now 2.63823e-308
B
23
S
4
G
7
Posts: 98
Reputation: 5,220

Post » Tue Aug 09, 2011 2:30 pm

Bob isn't a number.
B
43
S
22
G
20
Posts: 735
Reputation: 11,977

Post » Tue Aug 09, 2011 2:41 pm

Oh really? ;) I report here an error in the processing of the value.
B
23
S
4
G
7
Posts: 98
Reputation: 5,220

Post » Tue Aug 09, 2011 3:29 pm

Thanks, this is fixed in the next build. It's actually the same problem as the property grid one - there was a problem in one of C2's general 'convert string to number' routines so this can likely be reproduced in a few spots until the next build.
Scirra Founder
B
387
S
230
G
88
Posts: 24,250
Reputation: 192,452


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 3 guests