Let's divide 986540 by 78
We want to divide 986540 by 78.

Step 1:
9 divided by 78 is 0 with a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 9 to get 9.
Take the next digit (8) from the dividend and append it to 9, then repeat: 98 / 78

On to step 2:
98 divided by 78 is 1 with a remainder of 20.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtract 78 from 98 to get 20.
Grab the next digit (6) from the dividend, add it to 20, then carry on: 206 / 78

On to step 3:
If we divide 206 by 78, we get 2 and a remainder of 50.
Record the quotient 2 as the next digit in the result. 
Result so far: 12.0
The remainder is 50 after subtracting 156 from 206.
Include the next digit (5) from the dividend after 50, then repeat: 505 / 78

Moving on to step 4:
If we divide 505 by 78, we get 6 and a remainder of 37.
The number 6 becomes the next digit in our result. 
Result so far: 126.0
Deduct 468 from 505 and we're left with 37.
Fetch the next digit (4) from the dividend, attach it to 37 and continue: 374 / 78

Moving on to step 5:
78 can be fit into 374 4 times, resulting in a remainder of 62.
Record the quotient 4 as the next digit in the result. 
Result so far: 1264.0
The remainder is 62 after subtracting 312 from 374.
Take the next digit (0) from the dividend and append it to 62, then repeat: 620 / 78

Advancing to step 6:
620 divided by 78 is 7 with a remainder of 74.
Use 7 as the next digit of our solution. 
Result so far: 12647.0
The remainder is 74 after subtracting 546 from 620.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

Advancing to step 7:
78 can be fit into 740 9 times, resulting in a remainder of 38.
Record the quotient 9 as the next digit in the result. 
Result so far: 12647.9
Subtracting 702 from 740 leaves us 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.

Going ahead to step 8:
78 goes into 380 4 times with a remainder of 68.
Write down 4 as next digit of the result. 
Result so far: 12647.94
If we take 312 away from 380, we end up with 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Step 9:
If we divide 680 by 78, we get 8 and a remainder of 56.
The number 8 becomes the next digit in our result. 
Result so far: 12647.948
Subtract 624 from 680 to get 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Moving on to step 10:
When dividing 560 by 78, we get 7 with a remainder of 14.
The next digit of our result is 7. 
Result so far: 12647.9487
Deduct 546 from 560 and we're left 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 11:
If we divide 140 by 78, we get 1 and a remainder of 62.
Use 1 as the next digit of our solution. 
Result so far: 12647.94871
Deduct 78 from 140 and we're left with 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

Advancing to step 12:
78 can be fit into 620 7 times, resulting in a remainder of 74.
The number 7 becomes the next digit in our result. 
Result so far: 12647.948717
If we subtract 546 from 620, we get 74.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

Step 13:
740 divided by 78 is 9 with a remainder of 38.
Write down 9 as next digit of the result. 
Result so far: 12647.9487179
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 14:
When dividing 380 by 78, we get 4 with a remainder of 68.
The next digit of our result is 4. 
Result so far: 12647.94871794
If we take 312 away from 380, we end up with 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

The final result is 12647.94871794 with a remainder of 6.8e-08.