Discuss Scratch

lwell72
Scratcher
100+ posts

How do you find the 'Modulo' of a number?

How do you find the ‘Modulo’ of a number?

Last edited by lwell72 (June 18, 2018 04:47:52)

deck26
Scratcher
1000+ posts

How do you find the 'Modulo' of a number?

(() mod ())

Last edited by deck26 (June 18, 2018 07:05:20)

lieutenant_X
Scratcher
500+ posts

How do you find the 'Modulo' of a number?

to turn the modulus of a number, divide the number a by the number b and the result is the remainder of this division
((a) mod (b))
for exemple :
<((6) mod (2)) = [0]>
<((7) mod (2)) = [1]>

Powered by DjangoBB