\large{<}
means "less than".
\large{>}
means "greater than".
init({
range: [[-1, 21], [-0.5, 10.5]],
scale: 20
});
style({
fill: "#CCC",
strokeWidth: 2,
stroke: KhanUtil._BACKGROUND
});
rect(10, 0, 10, 10);
var t1 = Math.floor(D1 / 10);
style({
fill : BLUE,
color: BLUE,
fillOpacity: 0.6,
});
rect(10, 0, t1, 10);
if (D1 % 10 || TRAILING1) {
rect(10 + t1, 0, 1, D1 % 10);
grid([0, 10], [0, 10]).translate(200.5, 0);
var lab = N1 + (TRAILING1 ? '0' : '') + " = \\dfrac{" + t1 + "}{10} + \\dfrac{" + (D1 % 10) + "}{100}";
label([0, 8], lab, "right");
} else {
for (var i = 0; i < 9; i++){
line([11 + i, 0], [11 + i, 10]);
}
label([0, 8], N1 + " = \\dfrac{" + t1 + "}{10}", "right");
}
label([0, 5], N1 + " = \\dfrac{" + D1 + "}{100}", "right");
if (D1 % 10 === 0 || TRAILING1) {
grid([0, 10], [0, 10]).translate(200.5, 0);
}
init({
range: [[-1, 21], [-0.5, 10.5]],
scale: 20
});
style({
fill: "#CCC",
strokeWidth: 2,
stroke: KhanUtil._BACKGROUND
});
rect(10, 0, 10, 10);
var t2 = Math.floor(D2 / 10);
style({
fill : GREEN,
color: GREEN,
fillOpacity: 0.6,
});
rect(10, 0, t2, 10);
if (D2 % 10 || TRAILING2) {
rect(10 + t2, 0, 1, D2 % 10);
grid([0, 10], [0, 10]).translate(200.5, 0);
var lab = N2 + (TRAILING2 ? '0' : '') + " = \\dfrac{" + t2 + "}{10} + \\dfrac{" + (D2 % 10) + "}{100}";
label([0, 8], lab, "right");
} else {
for (var i = 0; i < 9; i++){
line([11 + i, 0], [11 + i, 10]);
}
label([0, 8], N2 + " = \\dfrac{" + t2 + "}{10}", "right");
}
label([0, 5], N2 + " = \\dfrac{" + D2 + "}{100}", "right");
if (D2 % 10 === 0 || TRAILING2) {
grid([0, 10], [0, 10]).translate(200.5, 0);
}
\large{\blue{D1 \text{ plural_form(HUNDREDTHS, D1)}}}
is the same as
\large{\green{D2 \text{ plural_form(HUNDREDTHS, D2)}}}
.
\large{\blue{D1 \text{ plural_form(HUNDREDTHS, D1)}}}
is more than
\large{\green{D2 \text{ plural_form(HUNDREDTHS, D2)}}}
.
\large{\blue{D1 \text{ plural_form(HUNDREDTHS, D1)}}}
is less than
\large{\green{D2 \text{ plural_form(HUNDREDTHS, D2)}}}
.
Therefore \large{N1} SOLUTION \large{N2}
.