+ 3

[DUPLICATE] How the modulus operator works on JavaScript?

how can the answer of 38%5 is 3??Please help me.

22nd Mar 2017, 7:54 AM
Rabiul Islam Razu
Rabiul Islam Razu - avatar
5 Answers
+ 10
Divide 38 by 5, you'll get 3 as the remainder:-)
22nd Mar 2017, 8:03 AM
Dev
Dev - avatar
+ 5
Its Remainder when 38 is divided by 5
22nd Mar 2017, 8:03 AM
Meharban Singh
Meharban Singh - avatar
+ 4
/ is devided by, % is remainder AFTER dividing.
22nd Mar 2017, 8:05 AM
Andre van Rensburg
Andre van Rensburg - avatar
+ 1
thank you very much
22nd Mar 2017, 8:13 AM
Rabiul Islam Razu
Rabiul Islam Razu - avatar
+ 1
when 38 is divided by 5 the reminder will be 3.
23rd Mar 2018, 12:50 PM
sahir
sahir - avatar