JavaScript Division Erhalten Sie den Rest
var y=11;
var x=4;
var quotient = Math.floor(y/x); //2
var remainder = y % x; //3
Grepper
var y=11;
var x=4;
var quotient = Math.floor(y/x); //2
var remainder = y % x; //3