Explain | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula gr√°tis
+ 2

Explain

I don't understand about what the modules operation do ? Could you explain it simply ?ūüėĀ Thanks ūüĒĚ

27th Aug 2020, 7:13 PM
Deleted Account
Deleted Account - avatar
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.
27th Aug 2020, 8:17 PM
Steven M
Steven M - avatar
+ 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.
28th Aug 2020, 4:54 AM
Priya Sharma :)
Priya Sharma :) - avatar
+ 2
Can you explain a little more? What language? What are we talking about?
27th Aug 2020, 7:17 PM
Steven M
Steven M - avatar
+ 2
Do you have some reference to it??
27th Aug 2020, 8:07 PM
–ú–≥. –ö–Ĺ–į–ŅūüƆ
–ú–≥. –ö–Ĺ–į–ŅūüƆ - avatar
+ 2
In JavaScript there is an example : 56%3=2 Could you explain this ? Thanks for attention .
27th Aug 2020, 8:11 PM
Deleted Account
Deleted Account - avatar
+ 2
Wow , now I can understand about modules operation. Thanks brother for spending your time . ūüíĮ
27th Aug 2020, 8:23 PM
Deleted Account
Deleted Account - avatar
+ 1
You mean modulus operator, it returns the remainder of a number Like 5%2 will return remainder as 1
27th Aug 2020, 7:21 PM
–ú–≥. –ö–Ĺ–į–ŅūüƆ
–ú–≥. –ö–Ĺ–į–ŅūüƆ - avatar
+ 1
I am taking about modules operation in Web programming Language
27th Aug 2020, 8:06 PM
Deleted Account
Deleted Account - avatar
+ 1
No
27th Aug 2020, 8:08 PM
Deleted Account
Deleted Account - avatar
27th Aug 2020, 8:12 PM
Steven M
Steven M - avatar