answersLogoWhite

0

What do you mean by a mod function?

Updated: 10/17/2024
User Avatar

Wiki User

17y ago

Best Answer

A modulo function finds the remainder term when you divide one number by another number.

For example, if you divide 20 by 3 you're left with a remainder term of 2.

So 20 mod 3 = 2.

If you divide 21 by 3 you're left with no remainder term.

So 21 mod 3 = 0.

User Avatar

Wiki User

17y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What do you mean by a mod function?
Write your answer...
Submit
Still have questions?
magnify glass
imp