SyntaxFix
Write A Post
Hire A Developer
Questions
Mod just means you take the remainder after performing the division. Since 4 goes into 2 zero times, you end up with a remainder of 2.