We look at the division of 8794997 by 877 
We want to divide 8794997 by 877.

Advancing to step 1:
If we divide 8 by 877, we get 0 and a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Include the next digit (7) from the dividend after 8, then repeat: 87 / 877

Going ahead to step 2:
877 can be fit into 87 0 times, resulting in a remainder of 87.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 87, we get 87.
Bring next digit (9) of the dividend behind the 87 and repeat the process: 879 / 877

Step 3:
If we divide 879 by 877, we get 1 and a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Deduct 877 from 879 and we're left with 2.
Fetch the next digit (4) from the dividend, attach it to 2 and continue: 24 / 877

Advancing to step 4:
877 goes into 24 0 times with a remainder of 24.
Put 0 as the next digit of the answer. 
Result so far: 10.0
Subtracting 0 from 24 leaves us with 24.
Fetch the next digit (9) from the dividend, attach it to 24 and continue: 249 / 877

Let's proceed to step 5:
If we divide 249 by 877, we get 0 and a remainder of 249.
Use 0 as the next digit of our solution. 
Result so far: 100.0
The remainder is 249 after subtracting 0 from 249.
Grab the next digit (9) from the dividend, add it to 249, then carry on: 2499 / 877

Going ahead to step 6:
If we divide 2499 by 877, we get 2 and a remainder of 745.
Record the quotient 2 as the next digit in the result. 
Result so far: 1002.0
If we take 1754 away from 2499, we end up with 745.
Include the next digit (7) from the dividend after 745, then repeat: 7457 / 877

Going ahead to step 7:
The number 877 fits into 7457 8 times, leaving a remainder of 441.
The number 8 becomes the next digit in our result. 
Result so far: 10028.0
Subtract 7016 from 7457 to get 441.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4410, and continue the process.

Going ahead to step 8:
If we divide 4410 by 877, we get 5 and a remainder of 25.
Write down 5 as next digit of the result. 
Result so far: 10028.5
The remainder is 25 after subtracting 4385 from 4410.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Going ahead to step 9:
When dividing 250 by 877, we get 0 with a remainder of 250.
The next digit of our result is 0. 
Result so far: 10028.5
If we take 0 away from 250, we end up with 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2500, and continue the process.

Moving on to step 10:
If we divide 2500 by 877, we get 2 and a remainder of 746.
The next digit of our result is 2. 
Result so far: 10028.502
Subtract 1754 from 2500 to get 746.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7460, and continue the process.

Let's proceed to step 11:
The number 877 fits into 7460 8 times, leaving a remainder of 444.
The number 8 becomes the next digit in our result. 
Result so far: 10028.5028
Subtracting 7016 from 7460 leaves us with 444.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4440, and continue the process.

Moving on to step 12:
4440 divided by 877 is 5 with a remainder of 55.
The number 5 becomes the next digit in our result. 
Result so far: 10028.50285
If we take 4385 away from 4440, we end up with 55.
Since there are no more digits in the dividend, we add a zero to the remainder making it 550, and continue the process.

Let's proceed to step 13:
550 divided by 877 is 0 with a remainder of 550.
Record the quotient 0 as the next digit in the result. 
Result so far: 10028.50285
If we subtract 0 from 550, we get 550.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5500, and continue the process.

On to step 14:
5500 divided by 877 is 6 with a remainder of 238.
Put 6 as the next digit of the answer. 
Result so far: 10028.5028506
If we subtract 5262 from 5500, we get 238.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2380, and continue the process.

On to step 15:
If we divide 2380 by 877, we get 2 and a remainder of 626.
Record the quotient 2 as the next digit in the result. 
Result so far: 10028.50285062
The remainder is 626 after subtracting 1754 from 2380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6260, and continue the process.

The quotient of the division is 10028.50285062, and the remainder is 6.26e-07.