We divide 400998 by 22
We want to divide 400998 by 22.

Advancing to step 1:
The number 22 fits into 4 0 times, leaving a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 22

Step 2:
The number 22 fits into 40 1 times, leaving 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.
Take the next digit (0) from the dividend and append it to 18, then repeat: 180 / 22

Let's proceed to step 3:
180 divided by 22 is 8 with a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 18.0
Subtract 176 from 180 to get 4.
Append the next digit (9) from the dividend to 4 and continue with: 49 / 22

Going ahead to step 4:
22 goes into 49 2 times with a remainder of 5.
Record the quotient 2 as the next digit in the result. 
Result so far: 182.0
If we take 44 away from 49, we end up with 5.
Bring next digit (9) of the dividend behind the 5 and repeat the process: 59 / 22

Moving on to step 5:
If we divide 59 by 22, we get 2 and a remainder of 15.
The next digit of our result is 2. 
Result so far: 1822.0
Deduct 44 from 59 and we're left with 15.
Include the next digit (8) from the dividend after 15, then repeat: 158 / 22

Going ahead to step 6:
22 can be fit into 158 7 times, resulting in a remainder of 4.
The number 7 becomes the next digit in our result. 
Result so far: 18227.0
Deduct 154 from 158 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.

Step 7:
22 goes into 40 1 times with a remainder of 18.
The number 1 becomes the next digit in our result. 
Result so far: 18227.1
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.

Advancing to step 8:
22 goes into 180 8 times with a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 18227.18
If we subtract 176 from 180, we 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.

Going ahead to step 9:
22 goes into 40 1 times with a remainder of 18.
Put 1 as the next digit of the answer. 
Result so far: 18227.181
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.

Moving on to step 10:
The number 22 fits into 180 8 times, leaving a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 18227.1818
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.

Step 11:
If we divide 40 by 22, we get 1 and a remainder of 18.
Use 1 as the next digit of our solution. 
Result so far: 18227.18181
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.

Advancing to step 12:
When dividing 180 by 22, we get 8 with a remainder of 4.
The next digit of our result is 8. 
Result so far: 18227.181818
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.

Let's proceed to step 13:
When dividing 40 by 22, we get 1 with a remainder of 18.
Write down 1 as next digit of the result. 
Result so far: 18227.1818181
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.

Moving on to step 14:
When dividing 180 by 22, we get 8 with a remainder of 4.
The number 8 becomes the next digit in our result. 
Result so far: 18227.18181818
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.

Our division results in 18227.18181818 with a remaining 4e-09.