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
37
S
19
G
18
Posts: 613
Reputation: 10,231

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


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 4 guests