Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » *SOLVED* What does the O mod O block do?
- purplebook163
-
Scratcher
500+ posts
*SOLVED* What does the O mod O block do?
What does the
((0) mod (0))block do? When I did a quick Google search, the only thing that came up was mode, which is used in sets of data.
Last edited by purplebook163 (June 23, 2015 06:27:19)
- Econinja
-
Scratcher
1000+ posts
*SOLVED* What does the O mod O block do?
What does the((0) mod (0))block do? When I did a quick Google search, the only thing that came up was mode, which is used in sets of data.
Exponents.
e.g. 7^2 = 49
due to that 7*7 is 49.
- purplebook163
-
Scratcher
500+ posts
*SOLVED* What does the O mod O block do?
Thanks!What does the((0) mod (0))block do? When I did a quick Google search, the only thing that came up was mode, which is used in sets of data.
Exponents.
e.g. 7^2 = 49
due to that 7*7 is 49.
- deck26
-
Scratcher
1000+ posts
*SOLVED* What does the O mod O block do?
Sorry but that answer is completely wrong. Look up modulo or modulus online for info but it's essentially the remainder after division.
((49) mod (7)) // =0
((36) mod (7)) // =1 7x5 + 1 = 36
- Econinja
-
Scratcher
1000+ posts
*SOLVED* What does the O mod O block do?
Sorry but that answer is completely wrong. Look up modulo or modulus online for info but it's essentially the remainder after division.Oops.((49) mod (7)) // =0
((36) mod (7)) // =1 7x5 + 1 = 36
- purplebook163
-
Scratcher
500+ posts
*SOLVED* What does the O mod O block do?
Sorry but that answer is completely wrong. Look up modulo or modulus online for info but it's essentially the remainder after division.Wait. What is the answer then? It does square roots, right?((49) mod (7)) // =0
((36) mod (7)) // =1 7x5 + 1 = 36
- Econinja
-
Scratcher
1000+ posts
*SOLVED* What does the O mod O block do?
Sorry but that answer is completely wrong. Look up modulo or modulus online for info but it's essentially the remainder after division.Wait. What is the answer then? It does square roots, right?((49) mod (7)) // =0
((36) mod (7)) // =1 7x5 + 1 = 36
Turn out his answer was correct. I got confused with
(()*(()*()))or (you got confused with)
([sqrt v] of (9))
- deck26
-
Scratcher
1000+ posts
*SOLVED* What does the O mod O block do?
There is an option in the maths block for square root
set [myvar v] to ([sqrt v] of (othervar))
- purplebook163
-
Scratcher
500+ posts
*SOLVED* What does the O mod O block do?
Exponents, sorry. I always mix those too up. XD
- Discussion Forums
- » Help with Scripts
-
» *SOLVED* What does the O mod O block do?