We're dividing 864157 by 22 
We want to divide 864157 by 22.

Step 1:
8 divided by 22 is 0 with a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Append the next digit (6) from the dividend to 8 and continue with: 86 / 22

Advancing to step 2:
When dividing 86 by 22, we get 3 with a remainder of 20.
The next digit of our result is 3. 
Result so far: 3.0
If we subtract 66 from 86, we get 20.
Fetch the next digit (4) from the dividend, attach it to 20 and continue: 204 / 22

Going ahead to step 3:
The number 22 fits into 204 9 times, leaving a remainder of 6.
Put 9 as the next digit of the answer. 
Result so far: 39.0
If we take 198 away from 204, we end up with 6.
Include the next digit (1) from the dividend after 6, then repeat: 61 / 22

Step 4:
The number 22 fits into 61 2 times, leaving a remainder of 17.
Write down 2 as next digit of the result. 
Result so far: 392.0
If we subtract 44 from 61, we get 17.
Grab the next digit (5) from the dividend, add it to 17, then carry on: 175 / 22

Moving on to step 5:
22 goes into 175 7 times with a remainder of 21.
Write down 7 as next digit of the result. 
Result so far: 3927.0
Subtracting 154 from 175 leaves us with 21.
Fetch the next digit (7) from the dividend, attach it to 21 and continue: 217 / 22

On to step 6:
22 goes into 217 9 times with a remainder of 19.
Record the quotient 9 as the next digit in the result. 
Result so far: 39279.0
If we take 198 away from 217, we end up with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Advancing to step 7:
The number 22 fits into 190 8 times, leaving a remainder of 14.
Use 8 as the next digit of our solution. 
Result so far: 39279.8
Subtracting 176 from 190 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Moving on to step 8:
22 goes into 140 6 times with a remainder of 8.
Put 6 as the next digit of the answer. 
Result so far: 39279.86
If we take 132 away from 140, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 9:
If we divide 80 by 22, we get 3 and a remainder of 14.
Record the quotient 3 as the next digit in the result. 
Result so far: 39279.863
The remainder is 14 after subtracting 66 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 10:
If we divide 140 by 22, we get 6 and a remainder of 8.
Use 6 as the next digit of our solution. 
Result so far: 39279.8636
Deduct 132 from 140 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 11:
80 divided by 22 is 3 with a remainder of 14.
Put 3 as the next digit of the answer. 
Result so far: 39279.86363
Deduct 66 from 80 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 12:
140 divided by 22 is 6 with a remainder of 8.
Record the quotient 6 as the next digit in the result. 
Result so far: 39279.863636
If we subtract 132 from 140, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 13:
22 goes into 80 3 times with a remainder of 14.
The next digit of our result is 3. 
Result so far: 39279.8636363
Deduct 66 from 80 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 14:
If we divide 140 by 22, we get 6 and a remainder of 8.
Use 6 as the next digit of our solution. 
Result so far: 39279.86363636
Subtract 132 from 140 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

The final result is 39279.86363636 with a remainder of 8e-09.