Let's divide 8388 by 789
Let's see how many times 789 fits into 8388.

Going ahead to step 1:
When dividing 8 by 789, we get 0 with a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Include the next digit (3) from the dividend after 8, then repeat: 83 / 789

Moving on to step 2:
789 goes into 83 0 times with a remainder of 83.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 83 to get 83.
Append the next digit (8) from the dividend to 83 and continue with: 838 / 789

Step 3:
If we divide 838 by 789, we get 1 and a remainder of 49.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 789 away from 838, we end up with 49.
Bring next digit (8) of the dividend behind the 49 and repeat the process: 498 / 789

Let's proceed to step 4:
If we divide 498 by 789, we get 0 and a remainder of 498.
The next digit of our result is 0. 
Result so far: 10.0
Subtract 0 from 498 to get 498.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4980, and continue the process.

Advancing to step 5:
The number 789 fits into 4980 6 times, leaving a remainder of 246.
Put 6 as the next digit of the answer. 
Result so far: 10.6
Subtracting 4734 from 4980 leaves us with 246.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2460, and continue the process.

Going ahead to step 6:
When dividing 2460 by 789, we get 3 with a remainder of 93.
Record the quotient 3 as the next digit in the result. 
Result so far: 10.63
If we subtract 2367 from 2460, we get 93.
Since there are no more digits in the dividend, we add a zero to the remainder making it 930, and continue the process.

Going ahead to step 7:
789 goes into 930 1 times with a remainder of 141.
Write down 1 as next digit of the result. 
Result so far: 10.631
Subtracting 789 from 930 leaves us with 141.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1410, and continue the process.

Going ahead to step 8:
1410 divided by 789 is 1 with a remainder of 621.
Record the quotient 1 as the next digit in the result. 
Result so far: 10.6311
Subtract 789 from 1410 to get 621.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6210, and continue the process.

The final result is 10.6311 with a remainder of 0.00621.