What does the % symbol mean again? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

What does the % symbol mean again?

6th Feb 2017, 7:08 AM
Brandon
2 Respostas
+ 7
It is the modulus operator. It returns the remainder of a mathematical expression. E.g. 5%2 // outputs 1 6%3 // outputs 0 2%3 // outputs 2
6th Feb 2017, 7:18 AM
Hatsy Rei
Hatsy Rei - avatar
+ 7
MATH NOOOO MAKE IT STOP
6th Feb 2017, 8:18 AM
Ahri Fox
Ahri Fox - avatar