We're dividing 400500 by 22 
Let's see how many times 22 fits into 400500.

Let's proceed to step 1:
The number 22 fits into 4 0 times, leaving a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 22

Going ahead to step 2:
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: 1.0
If we take 22 away from 40, we end up with 18.
Bring next digit (0) of the dividend behind the 18 and repeat the process: 180 / 22

Advancing to step 3:
If we divide 180 by 22, we get 8 and a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 18.0
The remainder is 4 after subtracting 176 from 180.
Bring next digit (5) of the dividend behind the 4 and repeat the process: 45 / 22

Step 4:
When dividing 45 by 22, we get 2 with a remainder of 1.
Record the quotient 2 as the next digit in the result. 
Result so far: 182.0
If we subtract 44 from 45, we get 1.
Append the next digit (0) from the dividend to 1 and continue with: 10 / 22

Going ahead to step 5:
22 goes into 10 0 times with a remainder of 10.
The next digit of our result is 0. 
Result so far: 1820.0
Deduct 0 from 10 and we're left with 10.
Grab the next digit (0) from the dividend, add it to 10, then carry on: 100 / 22

Moving on to step 6:
22 can be fit into 100 4 times, resulting in a remainder of 12.
The number 4 becomes the next digit in our result. 
Result so far: 18204.0
If we subtract 88 from 100, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 7:
120 divided by 22 is 5 with a remainder of 10.
Put 5 as the next digit of the answer. 
Result so far: 18204.5
Deduct 110 from 120 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 8:
100 divided by 22 is 4 with a remainder of 12.
Put 4 as the next digit of the answer. 
Result so far: 18204.54
Deduct 88 from 100 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 9:
When dividing 120 by 22, we get 5 with a remainder of 10.
The next digit of our result is 5. 
Result so far: 18204.545
Subtract 110 from 120 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 10:
If we divide 100 by 22, we get 4 and a remainder of 12.
Use 4 as the next digit of our solution. 
Result so far: 18204.5454
The remainder is 12 after subtracting 88 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

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

Let's proceed to step 12:
The number 22 fits into 100 4 times, leaving a remainder of 12.
The number 4 becomes the next digit in our result. 
Result so far: 18204.545454
If we subtract 88 from 100, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 13:
120 divided by 22 is 5 with a remainder of 10.
The next digit of our result is 5. 
Result so far: 18204.5454545
The remainder is 10 after subtracting 110 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 14:
If we divide 100 by 22, we get 4 and a remainder of 12.
The number 4 becomes the next digit in our result. 
Result so far: 18204.54545454
Subtract 88 from 100 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Our division results in 18204.54545454 with a remaining 1.2e-08.