We look at the division of 397974 by 22 
We want to figure out the number of times 397974 can be divided by 22.

Step 1:
22 can be fit into 3 0 times, resulting in a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 22

Advancing to step 2:
22 goes into 39 1 times with a remainder of 17.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we take 22 away from 39, we end up with 17.
Take the next digit (7) from the dividend and append it to 17, then repeat: 177 / 22

Advancing to step 3:
The number 22 fits into 177 8 times, leaving a remainder of 1.
Record the quotient 8 as the next digit in the result. 
Result so far: 18.0
The remainder is 1 after subtracting 176 from 177.
Take the next digit (9) from the dividend and append it to 1, then repeat: 19 / 22

On to step 4:
22 goes into 19 0 times with a remainder of 19.
The number 0 becomes the next digit in our result. 
Result so far: 180.0
The remainder is 19 after subtracting 0 from 19.
Take the next digit (7) from the dividend and append it to 19, then repeat: 197 / 22

On to step 5:
22 can be fit into 197 8 times, resulting in a remainder of 21.
The number 8 becomes the next digit in our result. 
Result so far: 1808.0
If we take 176 away from 197, we end up with 21.
Include the next digit (4) from the dividend after 21, then repeat: 214 / 22

Advancing to step 6:
214 divided by 22 is 9 with a remainder of 16.
Record the quotient 9 as the next digit in the result. 
Result so far: 18089.0
If we subtract 198 from 214, we 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.

Let's proceed to step 7:
If we divide 160 by 22, we get 7 and a remainder of 6.
Put 7 as the next digit of the answer. 
Result so far: 18089.7
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.

Step 8:
22 goes into 60 2 times with a remainder of 16.
The number 2 becomes the next digit in our result. 
Result so far: 18089.72
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.

Step 9:
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: 18089.727
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.

Going ahead to step 10:
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: 18089.7272
If we take 44 away from 60, we end up 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.

Moving on to step 11:
160 divided by 22 is 7 with a remainder of 6.
The number 7 becomes the next digit in our result. 
Result so far: 18089.72727
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.

Going ahead to step 12:
When dividing 60 by 22, we get 2 with a remainder of 16.
Put 2 as the next digit of the answer. 
Result so far: 18089.727272
If we take 44 away from 60, we end up 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.

Advancing to step 13:
The number 22 fits into 160 7 times, leaving a remainder of 6.
The next digit of our result is 7. 
Result so far: 18089.7272727
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.

Going ahead to step 14:
60 divided by 22 is 2 with a remainder of 16.
The number 2 becomes the next digit in our result. 
Result so far: 18089.72727272
If we subtract 44 from 60, we 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.

The final result is 18089.72727272 with a remainder of 1.6e-08.