I ain’t no Tweet Tweet but pls do, I need knowledge to understand.
Ohhh yeah no that works lemme explain.
Hehe bh taught me this.
Basically, the way JS works (which is what GKC runs on), multiplying a text by one returns the text, but registers it as a number.
Example will help:
Basically, if we have the letter “1”, we can multiply it and it will return 1 but as a number. Make sense? If we multiply the text 5 by 1, we get the number 5. It gets more complicated when we multiply actual letters by 1, and I think in gimkit it just errors.
The reason we would do things like this is so that text can keep, say, zeroes before a one, like 00010000 if we want binary or something. But if we then want to convert it back, we’re going to have to reimplement it as a number, so after doing some things to make it more normal, we can do this to make it a number again.
Too long: JavaScript just works like that.
As long as it’s GKC related sure.
Oh also don’t quote me on this haha it’s been a while.
Then it might be something on the posters part? Incorrectly calling the property?
The only thing I can think of is them not having a property device or setting it up wrong. @Pineappleman?
So if we multiply “5 by 1”
we get “5”
Left or Right?
(w bh)
Right.
No wait sorry I meant up.
Wait then what happens to the 1.
(I feel domb :))) )
This is the best part about the forums. Getting humbled by these guys
I’m so lost.
It’s 5 (text) times (by) 1 (number)…
5*1= 5
By the way don’t ask me what happens if you multiply something by 2. It’s not like blackhole was giving video lessons on the forum lol.
by changing the property Player time Dec to a text property it suddenly works
yeah because how are you going to convert it to something that it isn’t or can’t be
If you don’t have any other questions please mark a solution
Wsg chat how can i help
Oh im late nvm goodbye
By the way, if yall are interested in learning more about this, heres pretty much the full extent of the reasearch done on this topic:
oh snap I didn’t know @Here_to_help was a coder like that
“5” times 2 makes “55” since it collates two strings together
You’re back :0000000
This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.