randRange(1, 10) randFromArray([0.3, 0.4, 0.6, 0.7, 0.75, 0.8, 0.9]) DIVIDEND / DIVISOR DIVISOR === 0.75 ? 4 : 10 DIVIDEND * MULTIPLE DIVISOR * MULTIPLE getGCD(NUMERATOR, DENOMINATOR)

`\large{DIVIDEND \div DIVISOR = {?}}`

QUOTIENT

We prefer to divide by a whole number.

To make an equivalent equation with a whole number divisor, we can multiply both numbers by `MULTIPLE`.

`\large{DIVIDEND \div DIVISOR = (DIVIDEND \times MULTIPLE) \div (DIVISOR \times MULTIPLE)}`

`\large{\phantom{DIVIDEND \div DIVISOR} = NUMERATOR \div DENOMINATOR}`

`\large{\phantom{DIVIDEND \div DIVISOR} = QUOTIENT}`

If we divide `NUMERATOR` apples between `DENOMINATOR` people, how many would each person have?

`\large{= \dfrac{NUMERATOR}{DENOMINATOR}}`

`\large{ = \dfrac{NUMERATOR / GCD}{DENOMINATOR / GCD}} = round(100 * QUOTIENT) / 100`