We look at the division of 39746715 by 878 
We want to divide 39746715 by 878.

Going ahead to step 1:
The number 878 fits into 3 0 times, leaving a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 878

Going ahead to step 2:
When dividing 39 by 878, we get 0 with a remainder of 39.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 39, we get 39.
Take the next digit (7) from the dividend and append it to 39, then repeat: 397 / 878

On to step 3:
The number 878 fits into 397 0 times, leaving a remainder of 397.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 397 leaves us with 397.
Include the next digit (4) from the dividend after 397, then repeat: 3974 / 878

Advancing to step 4:
878 can be fit into 3974 4 times, resulting in a remainder of 462.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
Subtracting 3512 from 3974 leaves us with 462.
Include the next digit (6) from the dividend after 462, then repeat: 4626 / 878

Going ahead to step 5:
4626 divided by 878 is 5 with a remainder of 236.
Put 5 as the next digit of the answer. 
Result so far: 45.0
Subtract 4390 from 4626 to get 236.
Fetch the next digit (7) from the dividend, attach it to 236 and continue: 2367 / 878

Step 6:
When dividing 2367 by 878, we get 2 with a remainder of 611.
Record the quotient 2 as the next digit in the result. 
Result so far: 452.0
Deduct 1756 from 2367 and we're left with 611.
Fetch the next digit (1) from the dividend, attach it to 611 and continue: 6111 / 878

Advancing to step 7:
6111 divided by 878 is 6 with a remainder of 843.
Record the quotient 6 as the next digit in the result. 
Result so far: 4526.0
Deduct 5268 from 6111 and we're left with 843.
Bring next digit (5) of the dividend behind the 843 and repeat the process: 8435 / 878

Step 8:
The number 878 fits into 8435 9 times, leaving a remainder of 533.
Use 9 as the next digit of our solution. 
Result so far: 45269.0
Subtracting 7902 from 8435 leaves us with 533.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5330, and continue the process.

On to step 9:
The number 878 fits into 5330 6 times, leaving a remainder of 62.
Record the quotient 6 as the next digit in the result. 
Result so far: 45269.6
If we subtract 5268 from 5330, we get 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

Moving on to step 10:
If we divide 620 by 878, we get 0 and a remainder of 620.
Put 0 as the next digit of the answer. 
Result so far: 45269.6
Subtract 0 from 620 to 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.

Moving on to step 11:
6200 divided by 878 is 7 with a remainder of 54.
Use 7 as the next digit of our solution. 
Result so far: 45269.607
If we subtract 6146 from 6200, we get 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Let's proceed to step 12:
878 can be fit into 540 0 times, resulting in a remainder of 540.
The next digit of our result is 0. 
Result so far: 45269.607
If we subtract 0 from 540, we get 540.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5400, and continue the process.

Advancing to step 13:
5400 divided by 878 is 6 with a remainder of 132.
The next digit of our result is 6. 
Result so far: 45269.60706
Subtract 5268 from 5400 to get 132.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1320, and continue the process.

Let's proceed to step 14:
1320 divided by 878 is 1 with a remainder of 442.
The next digit of our result is 1. 
Result so far: 45269.607061
The remainder is 442 after subtracting 878 from 1320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4420, and continue the process.

Step 15:
878 can be fit into 4420 5 times, resulting in a remainder of 30.
Use 5 as the next digit of our solution. 
Result so far: 45269.6070615
Deduct 4390 from 4420 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 16:
878 can be fit into 300 0 times, resulting in a remainder of 300.
Use 0 as the next digit of our solution. 
Result so far: 45269.6070615
If we subtract 0 from 300, we get 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3000, and continue the process.

The final outcome is 45269.6070615, with a leftover of 3e-07.