1248645 divided by 877 
We want to figure out the number of times 1248645 can be divided by 877.

Advancing to step 1:
877 can be fit into 1 0 times, resulting in a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Append the next digit (2) from the dividend to 1 and continue with: 12 / 877

On to step 2:
877 can be fit into 12 0 times, resulting in a remainder of 12.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 12 leaves us with 12.
Bring next digit (4) of the dividend behind the 12 and repeat the process: 124 / 877

Moving on to step 3:
877 goes into 124 0 times with a remainder of 124.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 124, we get 124.
Include the next digit (8) from the dividend after 124, then repeat: 1248 / 877

Going ahead to step 4:
The number 877 fits into 1248 1 times, leaving a remainder of 371.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtracting 877 from 1248 leaves us with 371.
Append the next digit (6) from the dividend to 371 and continue with: 3716 / 877

On to step 5:
877 goes into 3716 4 times with a remainder of 208.
Put 4 as the next digit of the answer. 
Result so far: 14.0
If we take 3508 away from 3716, we end up with 208.
Grab the next digit (4) from the dividend, add it to 208, then carry on: 2084 / 877

On to step 6:
When dividing 2084 by 877, we get 2 with a remainder of 330.
The next digit of our result is 2. 
Result so far: 142.0
Subtract 1754 from 2084 to get 330.
Fetch the next digit (5) from the dividend, attach it to 330 and continue: 3305 / 877

On to step 7:
If we divide 3305 by 877, we get 3 and a remainder of 674.
The number 3 becomes the next digit in our result. 
Result so far: 1423.0
If we take 2631 away from 3305, we end up with 674.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6740, and continue the process.

Step 8:
If we divide 6740 by 877, we get 7 and a remainder of 601.
Use 7 as the next digit of our solution. 
Result so far: 1423.7
Subtract 6139 from 6740 to get 601.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6010, and continue the process.

Step 9:
The number 877 fits into 6010 6 times, leaving a remainder of 748.
The number 6 becomes the next digit in our result. 
Result so far: 1423.76
The remainder is 748 after subtracting 5262 from 6010.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7480, and continue the process.

Advancing to step 10:
When dividing 7480 by 877, we get 8 with a remainder of 464.
The number 8 becomes the next digit in our result. 
Result so far: 1423.768
Subtracting 7016 from 7480 leaves us with 464.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4640, and continue the process.

Going ahead to step 11:
The number 877 fits into 4640 5 times, leaving a remainder of 255.
The next digit of our result is 5. 
Result so far: 1423.7685
Deduct 4385 from 4640 and we're left with 255.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2550, and continue the process.

Step 12:
If we divide 2550 by 877, we get 2 and a remainder of 796.
Write down 2 as next digit of the result. 
Result so far: 1423.76852
Subtract 1754 from 2550 to get 796.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7960, and continue the process.

Step 13:
The number 877 fits into 7960 9 times, leaving a remainder of 67.
The number 9 becomes the next digit in our result. 
Result so far: 1423.768529
If we subtract 7893 from 7960, we get 67.
Since there are no more digits in the dividend, we add a zero to the remainder making it 670, and continue the process.

Step 14:
670 divided by 877 is 0 with a remainder of 670.
Record the quotient 0 as the next digit in the result. 
Result so far: 1423.768529
Deduct 0 from 670 and we're left with 670.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6700, and continue the process.

Going ahead to step 15:
6700 divided by 877 is 7 with a remainder of 561.
The number 7 becomes the next digit in our result. 
Result so far: 1423.76852907
Deduct 6139 from 6700 and we're left with 561.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5610, and continue the process.

After the division, we end up with 1423.76852907 and a remainder of 5.61e-07.