how to divide the integer value dicard the remainder js code example
Example: javascript division get remainder
var y=11;
var x=4;
var quotient = Math.floor(y/x); //2
var remainder = y % x; //3
var y=11;
var x=4;
var quotient = Math.floor(y/x); //2
var remainder = y % x; //3