We divide 867790 by 21
Our goal is to divide 867790 by 21.

Step 1:
If we divide 8 by 21, we get 0 and a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Take the next digit (6) from the dividend and append it to 8, then repeat: 86 / 21

On to step 2:
21 can be fit into 86 4 times, resulting in a remainder of 2.
The next digit of our result is 4. 
Result so far: 4.0
Subtract 84 from 86 to get 2.
Fetch the next digit (7) from the dividend, attach it to 2 and continue: 27 / 21

Step 3:
21 goes into 27 1 times with a remainder of 6.
Use 1 as the next digit of our solution. 
Result so far: 41.0
The remainder is 6 after subtracting 21 from 27.
Fetch the next digit (7) from the dividend, attach it to 6 and continue: 67 / 21

Going ahead to step 4:
67 divided by 21 is 3 with a remainder of 4.
Use 3 as the next digit of our solution. 
Result so far: 413.0
The remainder is 4 after subtracting 63 from 67.
Fetch the next digit (9) from the dividend, attach it to 4 and continue: 49 / 21

Moving on to step 5:
When dividing 49 by 21, we get 2 with a remainder of 7.
The number 2 becomes the next digit in our result. 
Result so far: 4132.0
Subtract 42 from 49 to get 7.
Fetch the next digit (0) from the dividend, attach it to 7 and continue: 70 / 21

Moving on to step 6:
21 can be fit into 70 3 times, resulting in a remainder of 7.
The number 3 becomes the next digit in our result. 
Result so far: 41323.0
Subtracting 63 from 70 leaves us with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 7:
The number 21 fits into 70 3 times, leaving a remainder of 7.
The next digit of our result is 3. 
Result so far: 41323.3
Subtract 63 from 70 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 8:
21 goes into 70 3 times with a remainder of 7.
Write down 3 as next digit of the result. 
Result so far: 41323.33
The remainder is 7 after subtracting 63 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

The quotient of the division is 41323.33, and the remainder is 0.007.