Let's divide 870854 by 22
Our goal is to divide 870854 by 22.

Advancing to step 1:
The number 22 fits into 8 0 times, leaving a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Include the next digit (7) from the dividend after 8, then repeat: 87 / 22

Going ahead to step 2:
22 goes into 87 3 times with a remainder of 21.
Use 3 as the next digit of our solution. 
Result so far: 3.0
Deduct 66 from 87 and we're left with 21.
Include the next digit (0) from the dividend after 21, then repeat: 210 / 22

Let's proceed to step 3:
If we divide 210 by 22, we get 9 and a remainder of 12.
Put 9 as the next digit of the answer. 
Result so far: 39.0
Deduct 198 from 210 and we're left with 12.
Grab the next digit (8) from the dividend, add it to 12, then carry on: 128 / 22

Let's proceed to step 4:
22 goes into 128 5 times with a remainder of 18.
Write down 5 as next digit of the result. 
Result so far: 395.0
The remainder is 18 after subtracting 110 from 128.
Fetch the next digit (5) from the dividend, attach it to 18 and continue: 185 / 22

On to step 5:
When dividing 185 by 22, we get 8 with a remainder of 9.
Record the quotient 8 as the next digit in the result. 
Result so far: 3958.0
The remainder is 9 after subtracting 176 from 185.
Append the next digit (4) from the dividend to 9 and continue with: 94 / 22

On to step 6:
When dividing 94 by 22, we get 4 with a remainder of 6.
Use 4 as the next digit of our solution. 
Result so far: 39584.0
If we take 88 away from 94, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 7:
22 can be fit into 60 2 times, resulting in a remainder of 16.
The number 2 becomes the next digit in our result. 
Result so far: 39584.2
Subtract 44 from 60 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 8:
When dividing 160 by 22, we get 7 with a remainder of 6.
Put 7 as the next digit of the answer. 
Result so far: 39584.27
If we subtract 154 from 160, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 9:
22 can be fit into 60 2 times, resulting in a remainder of 16.
Use 2 as the next digit of our solution. 
Result so far: 39584.272
Subtracting 44 from 60 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 10:
22 can be fit into 160 7 times, resulting in a remainder of 6.
Record the quotient 7 as the next digit in the result. 
Result so far: 39584.2727
Subtracting 154 from 160 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 11:
If we divide 60 by 22, we get 2 and a remainder of 16.
Write down 2 as next digit of the result. 
Result so far: 39584.27272
The remainder is 16 after subtracting 44 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 12:
22 can be fit into 160 7 times, resulting in a remainder of 6.
The next digit of our result is 7. 
Result so far: 39584.272727
The remainder is 6 after subtracting 154 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 13:
If we divide 60 by 22, we get 2 and a remainder of 16.
Record the quotient 2 as the next digit in the result. 
Result so far: 39584.2727272
Subtract 44 from 60 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 14:
When dividing 160 by 22, we get 7 with a remainder of 6.
The number 7 becomes the next digit in our result. 
Result so far: 39584.27272727
Subtract 154 from 160 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

The final result is 39584.27272727 with a remainder of 6e-09.