987864 ÷ 78 
We want to figure out the number of times 987864 can be divided by 78.

On to step 1:
9 divided by 78 is 0 with a remainder of 9.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 9 to get 9.
Bring next digit (8) of the dividend behind the 9 and repeat the process: 98 / 78

Let's proceed to step 2:
When dividing 98 by 78, we get 1 with a remainder of 20.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtract 78 from 98 to get 20.
Grab the next digit (7) from the dividend, add it to 20, then carry on: 207 / 78

Moving on to step 3:
The number 78 fits into 207 2 times, leaving a remainder of 51.
The next digit of our result is 2. 
Result so far: 12.0
If we take 156 away from 207, we end up with 51.
Include the next digit (8) from the dividend after 51, then repeat: 518 / 78

Moving on to step 4:
518 divided by 78 is 6 with a remainder of 50.
Use 6 as the next digit of our solution. 
Result so far: 126.0
If we take 468 away from 518, we end up with 50.
Take the next digit (6) from the dividend and append it to 50, then repeat: 506 / 78

On to step 5:
If we divide 506 by 78, we get 6 and a remainder of 38.
Put 6 as the next digit of the answer. 
Result so far: 1266.0
If we take 468 away from 506, we end up with 38.
Append the next digit (4) from the dividend to 38 and continue with: 384 / 78

Let's proceed to step 6:
78 can be fit into 384 4 times, resulting in a remainder of 72.
The next digit of our result is 4. 
Result so far: 12664.0
If we subtract 312 from 384, we get 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Let's proceed to step 7:
The number 78 fits into 720 9 times, leaving a remainder of 18.
The next digit of our result is 9. 
Result so far: 12664.9
If we take 702 away from 720, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Moving on to step 8:
When dividing 180 by 78, we get 2 with a remainder of 24.
Record the quotient 2 as the next digit in the result. 
Result so far: 12664.92
If we take 156 away from 180, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Let's proceed to step 9:
240 divided by 78 is 3 with a remainder of 6.
Put 3 as the next digit of the answer. 
Result so far: 12664.923
If we subtract 234 from 240, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 10:
If we divide 60 by 78, we get 0 and a remainder of 60.
Write down 0 as next digit of the result. 
Result so far: 12664.923
Deduct 0 from 60 and we're left with 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

On to step 11:
The number 78 fits into 600 7 times, leaving a remainder of 54.
The next digit of our result is 7. 
Result so far: 12664.92307
If we subtract 546 from 600, we get 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Advancing to step 12:
The number 78 fits into 540 6 times, leaving a remainder of 72.
Record the quotient 6 as the next digit in the result. 
Result so far: 12664.923076
Deduct 468 from 540 and we're left with 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Advancing to step 13:
If we divide 720 by 78, we get 9 and a remainder of 18.
The next digit of our result is 9. 
Result so far: 12664.9230769
Subtract 702 from 720 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 14:
78 goes into 180 2 times with a remainder of 24.
Put 2 as the next digit of the answer. 
Result so far: 12664.92307692
Subtracting 156 from 180 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

In conclusion, the division gives 12664.92307692 with a balance of 2.4e-08.