Join 0 with 0 returns 0

If you try to join “0” with “0”, instead of getting the expected result of “00” you get “0”

9 Likes

yep, bug described here :)

6 Likes

If you put that inside a show pop-up, you’ll get the expected result. Variables currently immediately convert string to number, which is a bug that was discovered by the amazing Spy_Guy_96, which Tri-Angle has linked.

5 Likes

I just tested that before making this topic and got 0.

5 Likes

i just tested and got 00 - if you store the value in a variable and then display the value with the pop-up block, it will be 0. if, instead, you directly show the value (without the intermediary variable) youll get 00

variables currently consider groups of numbers automatically number (00 is a group of number)

3 Likes

Oh, I must have been using an older player

6 Likes

The stuff above still happens as of player 2.2.3, but we can assure you it’s being sorted…

4 Likes

Oh, and just so you know, 0 join 0 returning 0 on set text is intentional, as it always tries to return as number (without leading zeros) whenever possible.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.