Hey all,
We have a fix for user variables always being treated as strings, when first loaded in a project. This would sometimes result in high score comparisons being incorrect!
Now the user variables will be correctly converted to a number if it is a valid number, which is the default behaviour in other blocks.
Happy Hopscotching!
18 Likes
Thanks a lot to everyone who made reports here — User variables treated as strings for math operations like comparison & min. It really helped to fix the issue.
10 Likes
Awesome sauce! Thanks for working to make Hopscotch a better coding experience <3
7 Likes
Awesome! Now I won’t have to set a user var to itself to convert it to the correct format.
You always find ways to make Hopscotch even better for the community. Keep up the awesome work.
4 Likes