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

Going ahead to step 1:
22 can be fit into 3 0 times, resulting in a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Append the next digit (9) from the dividend to 3 and continue with: 39 / 22

Moving on 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
Subtracting 22 from 39 leaves us with 17.
Fetch the next digit (6) from the dividend, attach it to 17 and continue: 176 / 22

Let's proceed to step 3:
If we divide 176 by 22, we get 8 and a remainder of 0.
Write down 8 as next digit of the result. 
Result so far: 18.0
The remainder is 0 after subtracting 176 from 176.
Include the next digit (7) from the dividend after 0, then repeat: 7 / 22

Step 4:
If we divide 7 by 22, we get 0 and a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 180.0
The remainder is 7 after subtracting 0 from 7.
Include the next digit (7) from the dividend after 7, then repeat: 77 / 22

Step 5:
If we divide 77 by 22, we get 3 and a remainder of 11.
The number 3 becomes the next digit in our result. 
Result so far: 1803.0
Deduct 66 from 77 and we're left with 11.
Take the next digit (0) from the dividend and append it to 11, then repeat: 110 / 22

Step 6:
22 goes into 110 5 times with a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 18035.0
If we take 110 away from 110, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 7:
The number 22 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 18035.0
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 8:
22 can be fit into 0 0 times, resulting in a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 18035.0
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Our division results in 18035.0 with a remaining 0.0.