We look at the division of 840158 by 77 
Our goal is to divide 840158 by 77.

Step 1:
77 can be fit into 8 0 times, resulting in a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Grab the next digit (4) from the dividend, add it to 8, then carry on: 84 / 77

Going ahead to step 2:
77 can be fit into 84 1 times, resulting in a remainder of 7.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtract 77 from 84 to get 7.
Fetch the next digit (0) from the dividend, attach it to 7 and continue: 70 / 77

On to step 3:
When dividing 70 by 77, we get 0 with a remainder of 70.
Record the quotient 0 as the next digit in the result. 
Result so far: 10.0
The remainder is 70 after subtracting 0 from 70.
Append the next digit (1) from the dividend to 70 and continue with: 701 / 77

Going ahead to step 4:
The number 77 fits into 701 9 times, leaving a remainder of 8.
Record the quotient 9 as the next digit in the result. 
Result so far: 109.0
Subtract 693 from 701 to get 8.
Append the next digit (5) from the dividend to 8 and continue with: 85 / 77

Going ahead to step 5:
77 goes into 85 1 times with a remainder of 8.
Put 1 as the next digit of the answer. 
Result so far: 1091.0
Subtract 77 from 85 to get 8.
Grab the next digit (8) from the dividend, add it to 8, then carry on: 88 / 77

Going ahead to step 6:
77 goes into 88 1 times with a remainder of 11.
Put 1 as the next digit of the answer. 
Result so far: 10911.0
Subtracting 77 from 88 leaves us with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 7:
110 divided by 77 is 1 with a remainder of 33.
The number 1 becomes the next digit in our result. 
Result so far: 10911.1
If we subtract 77 from 110, we get 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Moving on to step 8:
330 divided by 77 is 4 with a remainder of 22.
Put 4 as the next digit of the answer. 
Result so far: 10911.14
Deduct 308 from 330 and we're left with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

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

Step 10:
77 can be fit into 660 8 times, resulting in a remainder of 44.
The next digit of our result is 8. 
Result so far: 10911.1428
Subtract 616 from 660 to get 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Advancing to step 11:
If we divide 440 by 77, we get 5 and a remainder of 55.
Put 5 as the next digit of the answer. 
Result so far: 10911.14285
If we subtract 385 from 440, we get 55.
Since there are no more digits in the dividend, we add a zero to the remainder making it 550, and continue the process.

On to step 12:
The number 77 fits into 550 7 times, leaving a remainder of 11.
Put 7 as the next digit of the answer. 
Result so far: 10911.142857
If we take 539 away from 550, we end up with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Let's proceed to step 13:
77 goes into 110 1 times with a remainder of 33.
The number 1 becomes the next digit in our result. 
Result so far: 10911.1428571
Subtracting 77 from 110 leaves us with 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

On to step 14:
When dividing 330 by 77, we get 4 with a remainder of 22.
The number 4 becomes the next digit in our result. 
Result so far: 10911.14285714
Subtract 308 from 330 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

The final outcome is 10911.14285714, with a leftover of 2.2e-08.