We're dividing 3470170 by 877 
We're looking to find how many times 877 goes into 3470170.

On to step 1:
When dividing 3 by 877, we get 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Fetch the next digit (4) from the dividend, attach it to 3 and continue: 34 / 877

On to step 2:
If we divide 34 by 877, we get 0 and a remainder of 34.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 34 to get 34.
Append the next digit (7) from the dividend to 34 and continue with: 347 / 877

Let's proceed to step 3:
The number 877 fits into 347 0 times, leaving a remainder of 347.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 347 to get 347.
Take the next digit (0) from the dividend and append it to 347, then repeat: 3470 / 877

Let's proceed to step 4:
If we divide 3470 by 877, we get 3 and a remainder of 839.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Subtract 2631 from 3470 to get 839.
Include the next digit (1) from the dividend after 839, then repeat: 8391 / 877

On to step 5:
If we divide 8391 by 877, we get 9 and a remainder of 498.
The number 9 becomes the next digit in our result. 
Result so far: 39.0
If we take 7893 away from 8391, we end up with 498.
Fetch the next digit (7) from the dividend, attach it to 498 and continue: 4987 / 877

Step 6:
If we divide 4987 by 877, we get 5 and a remainder of 602.
The number 5 becomes the next digit in our result. 
Result so far: 395.0
The remainder is 602 after subtracting 4385 from 4987.
Append the next digit (0) from the dividend to 602 and continue with: 6020 / 877

On to step 7:
The number 877 fits into 6020 6 times, leaving a remainder of 758.
The number 6 becomes the next digit in our result. 
Result so far: 3956.0
Subtract 5262 from 6020 to get 758.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7580, and continue the process.

Going ahead to step 8:
If we divide 7580 by 877, we get 8 and a remainder of 564.
The next digit of our result is 8. 
Result so far: 3956.8
If we subtract 7016 from 7580, we get 564.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5640, and continue the process.

Let's proceed to step 9:
5640 divided by 877 is 6 with a remainder of 378.
Use 6 as the next digit of our solution. 
Result so far: 3956.86
Deduct 5262 from 5640 and we're left with 378.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3780, and continue the process.

Moving on to step 10:
3780 divided by 877 is 4 with a remainder of 272.
The next digit of our result is 4. 
Result so far: 3956.864
Subtract 3508 from 3780 to get 272.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2720, and continue the process.

Let's proceed to step 11:
877 goes into 2720 3 times with a remainder of 89.
The number 3 becomes the next digit in our result. 
Result so far: 3956.8643
If we take 2631 away from 2720, we end up with 89.
Since there are no more digits in the dividend, we add a zero to the remainder making it 890, and continue the process.

On to step 12:
If we divide 890 by 877, we get 1 and a remainder of 13.
Record the quotient 1 as the next digit in the result. 
Result so far: 3956.86431
Deduct 877 from 890 and we're left with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

On to step 13:
If we divide 130 by 877, we get 0 and a remainder of 130.
Record the quotient 0 as the next digit in the result. 
Result so far: 3956.86431
If we subtract 0 from 130, we get 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1300, and continue the process.

Going ahead to step 14:
If we divide 1300 by 877, we get 1 and a remainder of 423.
Record the quotient 1 as the next digit in the result. 
Result so far: 3956.8643101
The remainder is 423 after subtracting 877 from 1300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4230, and continue the process.

Advancing to step 15:
877 goes into 4230 4 times with a remainder of 722.
Record the quotient 4 as the next digit in the result. 
Result so far: 3956.86431014
Deduct 3508 from 4230 and we're left 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.

The final outcome is 3956.86431014, with a leftover of 7.22e-07.