We're dividing 3140859 by 870 
We want to divide 3140859 by 870.

Advancing to step 1:
870 goes into 3 0 times with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 870

On to step 2:
870 can be fit into 31 0 times, resulting in a remainder of 31.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 31, we get 31.
Include the next digit (4) from the dividend after 31, then repeat: 314 / 870

Moving on to step 3:
870 goes into 314 0 times with a remainder of 314.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 314 to get 314.
Fetch the next digit (0) from the dividend, attach it to 314 and continue: 3140 / 870

Step 4:
When dividing 3140 by 870, we get 3 with a remainder of 530.
Write down 3 as next digit of the result. 
Result so far: 3.0
Subtracting 2610 from 3140 leaves us with 530.
Bring next digit (8) of the dividend behind the 530 and repeat the process: 5308 / 870

Going ahead to step 5:
870 goes into 5308 6 times with a remainder of 88.
The next digit of our result is 6. 
Result so far: 36.0
If we take 5220 away from 5308, we end up with 88.
Append the next digit (5) from the dividend to 88 and continue with: 885 / 870

Moving on to step 6:
885 divided by 870 is 1 with a remainder of 15.
Record the quotient 1 as the next digit in the result. 
Result so far: 361.0
Deduct 870 from 885 and we're left with 15.
Append the next digit (9) from the dividend to 15 and continue with: 159 / 870

Advancing to step 7:
If we divide 159 by 870, we get 0 and a remainder of 159.
The number 0 becomes the next digit in our result. 
Result so far: 3610.0
If we take 0 away from 159, we end up with 159.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1590, and continue the process.

Going ahead to step 8:
The number 870 fits into 1590 1 times, leaving a remainder of 720.
Put 1 as the next digit of the answer. 
Result so far: 3610.1
Deduct 870 from 1590 and we're left with 720.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7200, and continue the process.

Advancing to step 9:
870 can be fit into 7200 8 times, resulting in a remainder of 240.
The number 8 becomes the next digit in our result. 
Result so far: 3610.18
Subtracting 6960 from 7200 leaves us with 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2400, and continue the process.

Moving on to step 10:
If we divide 2400 by 870, we get 2 and a remainder of 660.
Record the quotient 2 as the next digit in the result. 
Result so far: 3610.182
The remainder is 660 after subtracting 1740 from 2400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6600, and continue the process.

Step 11:
The number 870 fits into 6600 7 times, leaving a remainder of 510.
Record the quotient 7 as the next digit in the result. 
Result so far: 3610.1827
If we take 6090 away from 6600, we end up with 510.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5100, and continue the process.

On to step 12:
When dividing 5100 by 870, we get 5 with a remainder of 750.
Write down 5 as next digit of the result. 
Result so far: 3610.18275
If we take 4350 away from 5100, we end up with 750.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7500, and continue the process.

Going ahead to step 13:
870 goes into 7500 8 times with a remainder of 540.
Record the quotient 8 as the next digit in the result. 
Result so far: 3610.182758
Subtract 6960 from 7500 to 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.

Step 14:
The number 870 fits into 5400 6 times, leaving a remainder of 180.
Put 6 as the next digit of the answer. 
Result so far: 3610.1827586
Subtract 5220 from 5400 to get 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1800, and continue the process.

On to step 15:
1800 divided by 870 is 2 with a remainder of 60.
The next digit of our result is 2. 
Result so far: 3610.18275862
If we subtract 1740 from 1800, we get 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

The final result is 3610.18275862 with a remainder of 6e-08.