We look at the division of 2798507 by 787 
We want to divide 2798507 by 787.

Let's proceed to step 1:
When dividing 2 by 787, we get 0 with a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Append the next digit (7) from the dividend to 2 and continue with: 27 / 787

Moving on to step 2:
The number 787 fits into 27 0 times, leaving a remainder of 27.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 27 after subtracting 0 from 27.
Include the next digit (9) from the dividend after 27, then repeat: 279 / 787

Let's proceed to step 3:
787 can be fit into 279 0 times, resulting in a remainder of 279.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 279 and we're left with 279.
Fetch the next digit (8) from the dividend, attach it to 279 and continue: 2798 / 787

Let's proceed to step 4:
The number 787 fits into 2798 3 times, leaving a remainder of 437.
Put 3 as the next digit of the answer. 
Result so far: 3.0
Subtract 2361 from 2798 to get 437.
Fetch the next digit (5) from the dividend, attach it to 437 and continue: 4375 / 787

Let's proceed to step 5:
If we divide 4375 by 787, we get 5 and a remainder of 440.
Put 5 as the next digit of the answer. 
Result so far: 35.0
The remainder is 440 after subtracting 3935 from 4375.
Take the next digit (0) from the dividend and append it to 440, then repeat: 4400 / 787

Let's proceed to step 6:
4400 divided by 787 is 5 with a remainder of 465.
The next digit of our result is 5. 
Result so far: 355.0
Deduct 3935 from 4400 and we're left with 465.
Include the next digit (7) from the dividend after 465, then repeat: 4657 / 787

Step 7:
If we divide 4657 by 787, we get 5 and a remainder of 722.
The next digit of our result is 5. 
Result so far: 3555.0
If we take 3935 away from 4657, we end up with 722.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7220, and continue the process.

On to step 8:
787 goes into 7220 9 times with a remainder of 137.
The number 9 becomes the next digit in our result. 
Result so far: 3555.9
Subtracting 7083 from 7220 leaves us with 137.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1370, and continue the process.

Advancing to step 9:
If we divide 1370 by 787, we get 1 and a remainder of 583.
Put 1 as the next digit of the answer. 
Result so far: 3555.91
If we subtract 787 from 1370, we get 583.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5830, and continue the process.

Advancing to step 10:
When dividing 5830 by 787, we get 7 with a remainder of 321.
The next digit of our result is 7. 
Result so far: 3555.917
The remainder is 321 after subtracting 5509 from 5830.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3210, and continue the process.

Moving on to step 11:
787 goes into 3210 4 times with a remainder of 62.
Use 4 as the next digit of our solution. 
Result so far: 3555.9174
The remainder is 62 after subtracting 3148 from 3210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

Step 12:
787 can be fit into 620 0 times, resulting in a remainder of 620.
Use 0 as the next digit of our solution. 
Result so far: 3555.9174
If we subtract 0 from 620, we get 620.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6200, and continue the process.

On to step 13:
When dividing 6200 by 787, we get 7 with a remainder of 691.
Record the quotient 7 as the next digit in the result. 
Result so far: 3555.917407
The remainder is 691 after subtracting 5509 from 6200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6910, and continue the process.

On to step 14:
787 goes into 6910 8 times with a remainder of 614.
The next digit of our result is 8. 
Result so far: 3555.9174078
The remainder is 614 after subtracting 6296 from 6910.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6140, and continue the process.

Let's proceed to step 15:
If we divide 6140 by 787, we get 7 and a remainder of 631.
The next digit of our result is 7. 
Result so far: 3555.91740787
Subtracting 5509 from 6140 leaves us with 631.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6310, and continue the process.

The final outcome is 3555.91740787, with a leftover of 6.31e-07.