+ 2
Explain
I don't understand about what the modules operation do ? Could you explain it simply ?😁 Thanks 🔝
10 Respostas
+ 3
Modulus is the remainder after performing division. So 3 goes into 56, 18 times evenly. 3*18=54. So 56-54=2, this is where the 2 comes from, it is what is remaining afterwards.
+ 3
The modulus operator is a way to determine the remainder of a division operation. Instead of returning the result of the division, the modulo operation returns the whole number remainder. ... That remainder is what the modulo operation returns.
+ 2
Can you explain a little more? What language? What are we talking about?
+ 2
Do you have some reference to it??
+ 2
In JavaScript there is an example : 56%3=2
Could you explain this ?
Thanks for attention .
+ 2
Wow , now I can understand about modules operation.
Thanks brother for spending your time . 💯
+ 1
You mean modulus operator, it returns the remainder of a number
Like 5%2 will return remainder as 1
+ 1
I am taking about modules operation in Web programming Language
+ 1
No
+ 1
https://www.w3schools.com/js/js_arithmetic.asp
edit: gotcha Мг. Кнап🌠 explained it pretty well