+ 2

What exactly is modulo and floor division and how does it work?

Before you say learn basic math I'm pretty young so this is pretty new to me. I would like it if you could explain this as understandable as possible please.

2nd Jan 2018, 5:57 PM
Ayanna
Ayanna - avatar
1 Antwort
+ 5
The way it should: 5 / 2 = 2.5=> (2) 5 / 7 = 0.714285=> (0) 5 / -6 = −0.8333 =>(-1 is the integer below -0.833333) 5 / -2 = −2.5=> (-3) 5 / -3 = −1.6666 =>(-2) It's a basic floor. It divides it, and then makes it the integer below modulo division :- remainder 5%2=1 6%2=0 https://www.sololearn.com/discuss/85324/?ref=app
2nd Jan 2018, 6:21 PM
GAWEN STEASY
GAWEN STEASY - avatar