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
39
S
20
G
19
Posts: 656
Reputation: 11,003

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
373
S
218
G
84
Posts: 23,497
Reputation: 186,276


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 3 guests