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
42
S
21
G
19
Posts: 705
Reputation: 11,292

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
382
S
222
G
84
Posts: 23,984
Reputation: 189,235


Return to Closed bugs

Who is online

Users browsing this forum: ChicaoTT and 2 guests