We look at the division of 400977 by 22 
Our goal is to divide 400977 by 22.

Moving on to step 1:
When dividing 4 by 22, we get 0 with a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 22

Let's proceed to step 2:
If we divide 40 by 22, we get 1 and a remainder of 18.
Write down 1 as next digit of the result. 
Result so far: 1.0
The remainder is 18 after subtracting 22 from 40.
Include the next digit (0) from the dividend after 18, then repeat: 180 / 22

Step 3:
22 goes into 180 8 times with a remainder of 4.
The next digit of our result is 8. 
Result so far: 18.0
Subtracting 176 from 180 leaves us with 4.
Take the next digit (9) from the dividend and append it to 4, then repeat: 49 / 22

Moving on to step 4:
22 can be fit into 49 2 times, resulting in a remainder of 5.
Write down 2 as next digit of the result. 
Result so far: 182.0
Subtract 44 from 49 to get 5.
Append the next digit (7) from the dividend to 5 and continue with: 57 / 22

Advancing to step 5:
If we divide 57 by 22, we get 2 and a remainder of 13.
The next digit of our result is 2. 
Result so far: 1822.0
Subtract 44 from 57 to get 13.
Bring next digit (7) of the dividend behind the 13 and repeat the process: 137 / 22

Advancing to step 6:
22 can be fit into 137 6 times, resulting in a remainder of 5.
Write down 6 as next digit of the result. 
Result so far: 18226.0
Subtract 132 from 137 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 7:
If we divide 50 by 22, we get 2 and a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 18226.2
Deduct 44 from 50 and we're left 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.

Advancing to step 8:
22 goes into 60 2 times with a remainder of 16.
Write down 2 as next digit of the result. 
Result so far: 18226.22
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 18226.22 with a remainder of 0.016.