It’s a double to int conversion. When converting a decimal to an int, the decimal is truncated.
I’m pretty sure.
I just showed you the example in the screenshot. Here it is again:
Here is a simple example:
Yikes! Sorry! I’m not good with code, haha. Alright, I think I should get out of this conversation now.
stay on topic, please.
@FusionLord my lord… i don’t understand this, rereading now…
(just realizing @FusionLord has “lord” in it (I was being formal on accident))
No need to be so formal
Currently thinking about dead British people
HEY! we don’t say that word on the forums! consider “in spectator mode”
What are you talking about, I never said that!
good job, Now back on topic…
(I’m going to bed now)
I can say that somebody is dead on the forums. It’s not inappropriate for kids.
x and y are the numbers you want to use to divide: in this case, this is x mod y.
I tried it out and it doesn’t work.
screenshot your code maybe?
Here you go
What happens? (what is the result when the code is run)