randRange(1, 99) randRange(1, 2) pow(10, PLACES) roundTo(3, NUMERATOR / DENOMINATOR)

Express the fraction as a decimal.

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

SOLUTION

This fraction represents the result of dividing `NUMERATOR` by `DENOMINATOR`.

Dividing by `DENOMINATOR` is the same as moving the decimal one position to the left.

Dividing by `DENOMINATOR` is the same as moving the decimal two positions to the left.

init({ range: [[-1, 11], [-1, 2.2]], scale: [20, 40] }); var digits = KhanUtil.digits(NUMERATOR); digits.unshift(0); var digits2 = digits.slice(); // Leading zero if (digits.length < PLACES + 2) { digits.push( ' ' ); digits2.push( 0 ); } drawDigits(digits.reverse(), 0, 1); drawDigits(digits2.reverse(), 0, 0); for (var i = 1; i < PLACES + 1; i++) { // Final arrow if (i === PLACES) { style({arrows: "->"}); } arc([digits.length - (i + 1), 1.5 ], 0.5, 0, 180, { stroke: "blue" }); } //draw a black ellipse to be used as a decimal point style({fill: "#444", stroke: "#444"}); ellipse([digits.length - 1.5, 0.8], [0.09, 0.06]); ellipse([digits2.length - PLACES - 1.5, -0.2], [0.09, 0.06]);

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