Does anyone know how to make modular arithmetic with block code?

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.

1 Like

I tried it out and it doesn’t work.

screenshot your code maybe?

image
Here you go

What happens? (what is the result when the code is run)

20 is too big (I assume that’s the problem).

Nothing - when I trigger the trigger which trigger a trigger that shows try it doesn’t work.

It should work even if 20 is too big? What do you use to show “Try”?

make it so it does the math then does
add activity feed for everyone convert number to text result

Yeah… I think the problem is with how it’s being displayed rather than the actual mod function.

If activity feed then you may need to zoom out, activity feed doesn’t show up if the screen is too small.

  1. I used activity feed
  2. I’m zoomed out too

Try sending other activity feed to see if it displays anything.

On the other hand, is “Try” a number property?

Yes, why? Does it interfere something?

Try has to be a number property. Did you try sending other activity feeds with the same trigger?

1 Like

Yes, and it doesn’t work with number properties.

holy sus that’s a lot of block code

I thought you were going to say shot.