We look at the division of 985400 by 77 
We're looking to find how many times 77 goes into 985400.

Advancing to step 1:
77 can be fit into 9 0 times, resulting in a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Bring next digit (8) of the dividend behind the 9 and repeat the process: 98 / 77

Advancing to step 2:
77 goes into 98 1 times with a remainder of 21.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 77 from 98, we get 21.
Grab the next digit (5) from the dividend, add it to 21, then carry on: 215 / 77

Moving on to step 3:
The number 77 fits into 215 2 times, leaving a remainder of 61.
The number 2 becomes the next digit in our result. 
Result so far: 12.0
If we subtract 154 from 215, we get 61.
Include the next digit (4) from the dividend after 61, then repeat: 614 / 77

On to step 4:
77 can be fit into 614 7 times, resulting in a remainder of 75.
Record the quotient 7 as the next digit in the result. 
Result so far: 127.0
Subtracting 539 from 614 leaves us with 75.
Append the next digit (0) from the dividend to 75 and continue with: 750 / 77

Step 5:
750 divided by 77 is 9 with a remainder of 57.
Write down 9 as next digit of the result. 
Result so far: 1279.0
Subtracting 693 from 750 leaves us with 57.
Fetch the next digit (0) from the dividend, attach it to 57 and continue: 570 / 77

Step 6:
If we divide 570 by 77, we get 7 and a remainder of 31.
Write down 7 as next digit of the result. 
Result so far: 12797.0
If we take 539 away from 570, we end up with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Going ahead to step 7:
310 divided by 77 is 4 with a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 12797.4
If we take 308 away from 310, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 8:
The number 77 fits into 20 0 times, leaving a remainder of 20.
The next digit of our result is 0. 
Result so far: 12797.4
Subtract 0 from 20 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 9:
77 goes into 200 2 times with a remainder of 46.
Write down 2 as next digit of the result. 
Result so far: 12797.402
If we subtract 154 from 200, we get 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Let's proceed to step 10:
When dividing 460 by 77, we get 5 with a remainder of 75.
Write down 5 as next digit of the result. 
Result so far: 12797.4025
Subtracting 385 from 460 leaves us with 75.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

Moving on to step 11:
The number 77 fits into 750 9 times, leaving a remainder of 57.
Write down 9 as next digit of the result. 
Result so far: 12797.40259
The remainder is 57 after subtracting 693 from 750.
Since there are no more digits in the dividend, we add a zero to the remainder making it 570, and continue the process.

Step 12:
77 can be fit into 570 7 times, resulting in a remainder of 31.
Use 7 as the next digit of our solution. 
Result so far: 12797.402597
Deduct 539 from 570 and we're left with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Advancing to step 13:
77 can be fit into 310 4 times, resulting in a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 12797.4025974
Deduct 308 from 310 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 14:
77 can be fit into 20 0 times, resulting in a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 12797.4025974
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

The final outcome is 12797.4025974, with a leftover of 2e-08.