We divide 874771 by 22
Our goal is to divide 874771 by 22.

Advancing to step 1:
The number 22 fits into 8 0 times, leaving a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Append the next digit (7) from the dividend to 8 and continue with: 87 / 22

Step 2:
22 can be fit into 87 3 times, resulting in a remainder of 21.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Deduct 66 from 87 and we're left with 21.
Grab the next digit (4) from the dividend, add it to 21, then carry on: 214 / 22

Going ahead to step 3:
22 can be fit into 214 9 times, resulting in a remainder of 16.
Put 9 as the next digit of the answer. 
Result so far: 39.0
If we subtract 198 from 214, we get 16.
Grab the next digit (7) from the dividend, add it to 16, then carry on: 167 / 22

Let's proceed to step 4:
When dividing 167 by 22, we get 7 with a remainder of 13.
The next digit of our result is 7. 
Result so far: 397.0
Subtracting 154 from 167 leaves us with 13.
Append the next digit (7) from the dividend to 13 and continue with: 137 / 22

Step 5:
If we divide 137 by 22, we get 6 and a remainder of 5.
Write down 6 as next digit of the result. 
Result so far: 3976.0
The remainder is 5 after subtracting 132 from 137.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 22

Going ahead to step 6:
If we divide 51 by 22, we get 2 and a remainder of 7.
The next digit of our result is 2. 
Result so far: 39762.0
The remainder is 7 after subtracting 44 from 51.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 7:
22 can be fit into 70 3 times, resulting in a remainder of 4.
The next digit of our result is 3. 
Result so far: 39762.3
Deduct 66 from 70 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 8:
When dividing 40 by 22, we get 1 with a remainder of 18.
Record the quotient 1 as the next digit in the result. 
Result so far: 39762.31
If we subtract 22 from 40, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 9:
When dividing 180 by 22, we get 8 with a remainder of 4.
Record the quotient 8 as the next digit in the result. 
Result so far: 39762.318
Subtract 176 from 180 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 10:
When dividing 40 by 22, we get 1 with a remainder of 18.
The number 1 becomes the next digit in our result. 
Result so far: 39762.3181
Subtracting 22 from 40 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 11:
The number 22 fits into 180 8 times, leaving a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 39762.31818
If we take 176 away from 180, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 12:
If we divide 40 by 22, we get 1 and a remainder of 18.
Put 1 as the next digit of the answer. 
Result so far: 39762.318181
Deduct 22 from 40 and we're left with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Moving on to step 13:
22 can be fit into 180 8 times, resulting in a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 39762.3181818
Deduct 176 from 180 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 14:
If we divide 40 by 22, we get 1 and a remainder of 18.
Put 1 as the next digit of the answer. 
Result so far: 39762.31818181
If we take 22 away from 40, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

The final outcome is 39762.31818181, with a leftover of 1.8e-08.