What is the % operator?

Q

What is the % operator?

✍: Guest

A

It is referred to as the modulo or remainder operator. It returns the remainder of dividing the first operand by the second operand.

2012-11-09, 2064👍, 0💬