Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Noor Elharty
2,630 Pointswhat are remainders and modulus ?
i don't get the whole remainders and modulus thing in this lesson ? yeah i used to suck at math back in school :S if someone can break it down easily for me i would be more than thankful :D
1 Answer
Andres Mason
124 PointsModulus operations just return the remainder of a division problem. For example, 5%(that's mod)2 is 1 because 1 is the remainder. For division problems without remainders like [any #]%1 it returns 0.