+ 1
javascrips operators
What is % really do? I am not understand it.
3 Answers
+ 2
Is mod,
In JSP is other use.
+ 2
As Sachin Artani said you can check a division's remainder. It's often used for checking for divisibility, if the remainder is zero you know a number is divisible by another.
+ 1
It's a modulo operator which is used to find out the remainder. eg.
7%2 is 1