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

On to step 1:
22 goes into 3 0 times with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
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

On to step 2:
39 divided by 22 is 1 with a remainder of 17.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtract 22 from 39 to get 17.
Bring next digit (3) of the dividend behind the 17 and repeat the process: 173 / 22

Going ahead to step 3:
22 can be fit into 173 7 times, resulting in a remainder of 19.
Write down 7 as next digit of the result. 
Result so far: 17.0
If we take 154 away from 173, we end up with 19.
Bring next digit (3) of the dividend behind the 19 and repeat the process: 193 / 22

Going ahead to step 4:
193 divided by 22 is 8 with a remainder of 17.
The number 8 becomes the next digit in our result. 
Result so far: 178.0
Deduct 176 from 193 and we're left with 17.
Fetch the next digit (1) from the dividend, attach it to 17 and continue: 171 / 22

On to step 5:
171 divided by 22 is 7 with a remainder of 17.
The number 7 becomes the next digit in our result. 
Result so far: 1787.0
Subtracting 154 from 171 leaves us with 17.
Fetch the next digit (7) from the dividend, attach it to 17 and continue: 177 / 22

On to step 6:
The number 22 fits into 177 8 times, leaving a remainder of 1.
The number 8 becomes the next digit in our result. 
Result so far: 17878.0
The remainder is 1 after subtracting 176 from 177.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 7:
The number 22 fits into 10 0 times, leaving a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 17878.0
Subtracting 0 from 10 leaves us 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.

Step 8:
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: 17878.04
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.

Advancing to step 9:
When dividing 120 by 22, we get 5 with a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 17878.045
If we take 110 away from 120, we end up 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 10:
When dividing 100 by 22, we get 4 with a remainder of 12.
Put 4 as the next digit of the answer. 
Result so far: 17878.0454
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.

Advancing to step 11:
The number 22 fits into 120 5 times, leaving a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 17878.04545
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.

Let's proceed to step 12:
When dividing 100 by 22, we get 4 with a remainder of 12.
Use 4 as the next digit of our solution. 
Result so far: 17878.045454
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.

Going ahead to step 13:
22 can be fit into 120 5 times, resulting in a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 17878.0454545
Subtracting 110 from 120 leaves us 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 14:
The number 22 fits into 100 4 times, leaving a remainder of 12.
Write down 4 as next digit of the result. 
Result so far: 17878.04545454
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.

After the division, we end up with 17878.04545454 and a remainder of 1.2e-08.