js check if a number is a quotient code example Example: getting the qoutient of a number in javascript var div = Math.trunc(y/x); var rem = y % x;