Let's divide 394767 by 22
We want to divide 394767 by 22.

Going ahead to step 1:
22 can be fit into 3 0 times, resulting in 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.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 22

Let's proceed to step 2:
The number 22 fits into 39 1 times, leaving 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.
Take the next digit (4) from the dividend and append it to 17, then repeat: 174 / 22

Going ahead to step 3:
22 can be fit into 174 7 times, resulting in a remainder of 20.
Record the quotient 7 as the next digit in the result. 
Result so far: 17.0
Subtracting 154 from 174 leaves us with 20.
Fetch the next digit (7) from the dividend, attach it to 20 and continue: 207 / 22

Moving on to step 4:
22 can be fit into 207 9 times, resulting in a remainder of 9.
The number 9 becomes the next digit in our result. 
Result so far: 179.0
If we subtract 198 from 207, we get 9.
Bring next digit (6) of the dividend behind the 9 and repeat the process: 96 / 22

Advancing to step 5:
If we divide 96 by 22, we get 4 and a remainder of 8.
Put 4 as the next digit of the answer. 
Result so far: 1794.0
If we take 88 away from 96, we end up with 8.
Fetch the next digit (7) from the dividend, attach it to 8 and continue: 87 / 22

Let's proceed to step 6:
If we divide 87 by 22, we get 3 and a remainder of 21.
Use 3 as the next digit of our solution. 
Result so far: 17943.0
Subtract 66 from 87 to get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

On to step 7:
If we divide 210 by 22, we get 9 and a remainder of 12.
The number 9 becomes the next digit in our result. 
Result so far: 17943.9
Deduct 198 from 210 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.

Moving on to step 8:
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: 17943.95
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.

Going ahead to step 9:
100 divided by 22 is 4 with a remainder of 12.
Put 4 as the next digit of the answer. 
Result so far: 17943.954
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.

Going ahead to step 10:
22 can be fit into 120 5 times, resulting in a remainder of 10.
Use 5 as the next digit of our solution. 
Result so far: 17943.9545
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.

Moving on to step 11:
22 goes into 100 4 times with a remainder of 12.
Write down 4 as next digit of the result. 
Result so far: 17943.95454
If we take 88 away from 100, we end up 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.

Step 12:
If we divide 120 by 22, we get 5 and a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 17943.954545
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.

Going ahead to step 13:
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: 17943.9545454
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.

Step 14:
When dividing 120 by 22, we get 5 with a remainder of 10.
Record the quotient 5 as the next digit in the result. 
Result so far: 17943.95454545
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.

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