Let's divide 398594 by 22
Let's see how many times 22 fits into 398594.

On to step 1:
If we divide 3 by 22, we get 0 and a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 22

Moving on to step 2:
If we divide 39 by 22, we get 1 and a remainder of 17.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtract 22 from 39 to get 17.
Take the next digit (8) from the dividend and append it to 17, then repeat: 178 / 22

On to step 3:
22 goes into 178 8 times with a remainder of 2.
Use 8 as the next digit of our solution. 
Result so far: 18.0
If we take 176 away from 178, we end up with 2.
Fetch the next digit (5) from the dividend, attach it to 2 and continue: 25 / 22

Going ahead to step 4:
22 can be fit into 25 1 times, resulting in a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 181.0
If we subtract 22 from 25, we get 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 22

Moving on to step 5:
When dividing 39 by 22, we get 1 with a remainder of 17.
Write down 1 as next digit of the result. 
Result so far: 1811.0
If we take 22 away from 39, we end up with 17.
Include the next digit (4) from the dividend after 17, then repeat: 174 / 22

Going ahead to step 6:
22 goes into 174 7 times with a remainder of 20.
The next digit of our result is 7. 
Result so far: 18117.0
The remainder is 20 after subtracting 154 from 174.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 7:
The number 22 fits into 200 9 times, leaving a remainder of 2.
The number 9 becomes the next digit in our result. 
Result so far: 18117.9
The remainder is 2 after subtracting 198 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 8:
22 goes into 20 0 times with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 18117.9
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 9:
If we divide 200 by 22, we get 9 and a remainder of 2.
Record the quotient 9 as the next digit in the result. 
Result so far: 18117.909
If we take 198 away from 200, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 10:
If we divide 20 by 22, we get 0 and a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 18117.909
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 11:
When dividing 200 by 22, we get 9 with a remainder of 2.
Write down 9 as next digit of the result. 
Result so far: 18117.90909
Subtracting 198 from 200 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 12:
If we divide 20 by 22, we get 0 and a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 18117.90909
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 13:
22 goes into 200 9 times with a remainder of 2.
Use 9 as the next digit of our solution. 
Result so far: 18117.9090909
Subtracting 198 from 200 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 14:
The number 22 fits into 20 0 times, leaving a remainder of 20.
The next digit of our result is 0. 
Result so far: 18117.9090909
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

The final result is 18117.9090909 with a remainder of 2e-08.