We're dividing 866789 by 78 
We're looking to find how many times 78 goes into 866789.

Going ahead to step 1:
78 can be fit into 8 0 times, resulting in a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Take the next digit (6) from the dividend and append it to 8, then repeat: 86 / 78

Advancing to step 2:
86 divided by 78 is 1 with a remainder of 8.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtract 78 from 86 to get 8.
Take the next digit (6) from the dividend and append it to 8, then repeat: 86 / 78

Let's proceed to step 3:
78 goes into 86 1 times with a remainder of 8.
Write down 1 as next digit of the result. 
Result so far: 11.0
Subtracting 78 from 86 leaves us with 8.
Take the next digit (7) from the dividend and append it to 8, then repeat: 87 / 78

Going ahead to step 4:
If we divide 87 by 78, we get 1 and a remainder of 9.
The next digit of our result is 1. 
Result so far: 111.0
If we take 78 away from 87, we end up with 9.
Append the next digit (8) from the dividend to 9 and continue with: 98 / 78

Let's proceed to step 5:
If we divide 98 by 78, we get 1 and a remainder of 20.
Put 1 as the next digit of the answer. 
Result so far: 1111.0
If we take 78 away from 98, we end up with 20.
Append the next digit (9) from the dividend to 20 and continue with: 209 / 78

Going ahead to step 6:
When dividing 209 by 78, we get 2 with a remainder of 53.
Write down 2 as next digit of the result. 
Result so far: 11112.0
Subtracting 156 from 209 leaves us with 53.
Since there are no more digits in the dividend, we add a zero to the remainder making it 530, and continue the process.

Moving on to step 7:
The number 78 fits into 530 6 times, leaving a remainder of 62.
Write down 6 as next digit of the result. 
Result so far: 11112.6
If we subtract 468 from 530, we get 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

Let's proceed to step 8:
78 can be fit into 620 7 times, resulting in a remainder of 74.
Put 7 as the next digit of the answer. 
Result so far: 11112.67
Deduct 546 from 620 and we're left with 74.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

On to step 9:
The number 78 fits into 740 9 times, leaving a remainder of 38.
Put 9 as the next digit of the answer. 
Result so far: 11112.679
If we take 702 away from 740, we end up with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Moving on to step 10:
When dividing 380 by 78, we get 4 with a remainder of 68.
Write down 4 as next digit of the result. 
Result so far: 11112.6794
The remainder is 68 after subtracting 312 from 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Moving on to step 11:
78 goes into 680 8 times with a remainder of 56.
Use 8 as the next digit of our solution. 
Result so far: 11112.67948
The remainder is 56 after subtracting 624 from 680.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Step 12:
78 can be fit into 560 7 times, resulting in a remainder of 14.
The number 7 becomes the next digit in our result. 
Result so far: 11112.679487
Subtracting 546 from 560 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 13:
The number 78 fits into 140 1 times, leaving a remainder of 62.
Record the quotient 1 as the next digit in the result. 
Result so far: 11112.6794871
Subtract 78 from 140 to get 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

On to step 14:
78 goes into 620 7 times with a remainder of 74.
The next digit of our result is 7. 
Result so far: 11112.67948717
If we take 546 away from 620, we end up with 74.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

The final outcome is 11112.67948717, with a leftover of 7.4e-08.