If you set text to input and the input it just digits, it treats the input as a number instead of a string. This gets rid of any leading 0s and is incredibly annoying.
I’m sorry about 014
That’s how numbers work. Also, works as intended.
Would be cool if we were able to force inputs to be a string instead of a numeral. Sort of like dim example as string (I typed Visual Basic because I don’t know the syntax for defining variables as string in JS).
Yes, this is terrible. Maybe Hopscotch should make an option to set it to an integer, like in Python.
That would still remove any leading zeros though (because it’s the same as floor(number input)).
Now that I’m thinking about it, I think it’s “str x;”, since I know how to define integers: “int x;”
Wait what happened?
I was just think about that
You can’t set 014 as it treats it as a number and it will become 14
Seems weird but kinda reasonable
014 likes muahaha