javascrips operators | SoloLearn: Learn to code for FREE!

+1

javascrips operators

What is % really do? I am not understand it.

5/29/2018 7:09:53 PM

Taha Ansari

3 Answers

New Answer

+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