Fantastic Modulo(s?) and how to use It(them?)

This isn't a general topic :P

Let's get back on topic, shall we?

3 Likes

@t1_hopscotch i have a modulo question. How do u put that in Hopscoth code

Check one if modulo of a number = 6

1 Like

Modulo is in the math category.

You seem to have answered your question, which makes me think you were asking something different. Were you?

2 Likes

I mean this
text 1
Set variable(whole) to Random number
Text 2
Check once if (whole) modulo’s =6
Set text to Friday

How do u put (whole) modulo’s = 6 in hopscotch form?

1 Like

Tap the “Modulo” block in the math section.

2 Likes

btw i was not asking that

1 Like

Oh okay, I see. You would do this:

Check once if (whole) % (number) = 6:
 Set text to (Friday)

Change number to whatever value you want.

2 Likes

oh thank you i was asking for that

1 Like


Is it like this?

2 Likes

Yes that is correct.

Thank you for your help

1 Like