Let's divide 5141495 by 870
We want to divide 5141495 by 870.

Step 1:
5 divided by 870 is 0 with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Bring next digit (1) of the dividend behind the 5 and repeat the process: 51 / 870

Step 2:
870 goes into 51 0 times with a remainder of 51.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 51 and we're left with 51.
Include the next digit (4) from the dividend after 51, then repeat: 514 / 870

Let's proceed to step 3:
If we divide 514 by 870, we get 0 and a remainder of 514.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 514 after subtracting 0 from 514.
Append the next digit (1) from the dividend to 514 and continue with: 5141 / 870

On to step 4:
870 goes into 5141 5 times with a remainder of 791.
Write down 5 as next digit of the result. 
Result so far: 5.0
If we subtract 4350 from 5141, we get 791.
Grab the next digit (4) from the dividend, add it to 791, then carry on: 7914 / 870

Going ahead to step 5:
870 goes into 7914 9 times with a remainder of 84.
The number 9 becomes the next digit in our result. 
Result so far: 59.0
If we subtract 7830 from 7914, we get 84.
Include the next digit (9) from the dividend after 84, then repeat: 849 / 870

Advancing to step 6:
870 goes into 849 0 times with a remainder of 849.
Write down 0 as next digit of the result. 
Result so far: 590.0
Subtract 0 from 849 to get 849.
Fetch the next digit (5) from the dividend, attach it to 849 and continue: 8495 / 870

Moving on to step 7:
8495 divided by 870 is 9 with a remainder of 665.
Put 9 as the next digit of the answer. 
Result so far: 5909.0
Subtracting 7830 from 8495 leaves us with 665.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6650, and continue the process.

On to step 8:
6650 divided by 870 is 7 with a remainder of 560.
Use 7 as the next digit of our solution. 
Result so far: 5909.7
If we take 6090 away from 6650, we end up with 560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5600, and continue the process.

On to step 9:
870 can be fit into 5600 6 times, resulting in a remainder of 380.
Write down 6 as next digit of the result. 
Result so far: 5909.76
Subtracting 5220 from 5600 leaves us with 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3800, and continue the process.

On to step 10:
When dividing 3800 by 870, we get 4 with a remainder of 320.
Record the quotient 4 as the next digit in the result. 
Result so far: 5909.764
If we subtract 3480 from 3800, we get 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3200, and continue the process.

Moving on to step 11:
3200 divided by 870 is 3 with a remainder of 590.
The next digit of our result is 3. 
Result so far: 5909.7643
Deduct 2610 from 3200 and we're left with 590.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5900, and continue the process.

Step 12:
When dividing 5900 by 870, we get 6 with a remainder of 680.
Put 6 as the next digit of the answer. 
Result so far: 5909.76436
Deduct 5220 from 5900 and we're left with 680.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6800, and continue the process.

Let's proceed to step 13:
870 goes into 6800 7 times with a remainder of 710.
The next digit of our result is 7. 
Result so far: 5909.764367
The remainder is 710 after subtracting 6090 from 6800.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7100, and continue the process.

Let's proceed to step 14:
7100 divided by 870 is 8 with a remainder of 140.
Write down 8 as next digit of the result. 
Result so far: 5909.7643678
Subtracting 6960 from 7100 leaves us with 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1400, and continue the process.

Advancing to step 15:
If we divide 1400 by 870, we get 1 and a remainder of 530.
Record the quotient 1 as the next digit in the result. 
Result so far: 5909.76436781
If we subtract 870 from 1400, we get 530.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5300, and continue the process.

Our division results in 5909.76436781 with a remaining 5.3e-07.