Move the orange dot to SOLUTION on the number line.
Separate the decimal from the whole number:
SOLUTION = \purple{SOLUTION_WHOLE} + \purple{SOLUTION_DECIMAL}
Because SOLUTION is positive the orange dot
will be to the right of \purple{SOLUTION_WHOLE}.
Because SOLUTION is negative the orange dot will
be to the left of \purple{SOLUTION_WHOLE}.
Therefore, we know SOLUTION lies between
\green{SOLUTION_WHOLE} and
\green{SOLUTION_WHOLE + (SOLUTION > 0 ? 1 : -1)} on the number line.
The orange dot should be shifted abs(SOLUTION_DECIMAL)
to the right of SOLUTION_WHOLE.
The orange dot should be shifted abs(SOLUTION_DECIMAL)
to the left of SOLUTION_WHOLE.
The highlighted number shows where \pink{SOLUTION} is on the number line.
Move the orange dot to SOLUTION on the number line.
Separate the decimal from the whole number:
SOLUTION = \purple{SOLUTION_WHOLE} + \purple{SOLUTION_DECIMAL}
Because SOLUTION is positive the orange dot
will be above \purple{SOLUTION_WHOLE}.
Because SOLUTION is negative the orange dot will
be below \purple{SOLUTION_WHOLE}.
Therefore, we know SOLUTION lies between
\green{SOLUTION_WHOLE} and
\green{SOLUTION_WHOLE + (SOLUTION > 0 ? 1 : -1)} on the number line.
The orange dot should be shifted abs(SOLUTION_DECIMAL)
above SOLUTION_WHOLE.
The orange dot should be shifted abs(SOLUTION_DECIMAL)
below SOLUTION_WHOLE.
The highlighted number shows where \pink{SOLUTION} is on the number line.
Move the orange dot to SOLUTION on the number line.
Move the orange dot to SOLUTION on the number line.