quotient in javascript code example Example: quotient js var floatingPointPart = (18/7) % 1; var integerPart = Math.floor(18/7);