Let's divide 870174 by 51
We want to divide 870174 by 51.

Going ahead to step 1:
51 goes into 8 0 times with a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Take the next digit (7) from the dividend and append it to 8, then repeat: 87 / 51

Advancing to step 2:
87 divided by 51 is 1 with a remainder of 36.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 51 from 87 leaves us with 36.
Bring next digit (0) of the dividend behind the 36 and repeat the process: 360 / 51

On to step 3:
The number 51 fits into 360 7 times, leaving a remainder of 3.
The number 7 becomes the next digit in our result. 
Result so far: 17.0
The remainder is 3 after subtracting 357 from 360.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 51

Advancing to step 4:
The number 51 fits into 31 0 times, leaving a remainder of 31.
The next digit of our result is 0. 
Result so far: 170.0
If we subtract 0 from 31, we get 31.
Fetch the next digit (7) from the dividend, attach it to 31 and continue: 317 / 51

Let's proceed to step 5:
51 can be fit into 317 6 times, resulting in a remainder of 11.
Write down 6 as next digit of the result. 
Result so far: 1706.0
Deduct 306 from 317 and we're left with 11.
Include the next digit (4) from the dividend after 11, then repeat: 114 / 51

Let's proceed to step 6:
51 goes into 114 2 times with a remainder of 12.
Use 2 as the next digit of our solution. 
Result so far: 17062.0
If we subtract 102 from 114, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 7:
51 goes into 120 2 times with a remainder of 18.
Write down 2 as next digit of the result. 
Result so far: 17062.2
The remainder is 18 after subtracting 102 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 8:
When dividing 180 by 51, we get 3 with a remainder of 27.
Use 3 as the next digit of our solution. 
Result so far: 17062.23
The remainder is 27 after subtracting 153 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

On to step 9:
If we divide 270 by 51, we get 5 and a remainder of 15.
The next digit of our result is 5. 
Result so far: 17062.235
Deduct 255 from 270 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Moving on to step 10:
51 can be fit into 150 2 times, resulting in a remainder of 48.
Write down 2 as next digit of the result. 
Result so far: 17062.2352
Deduct 102 from 150 and we're left with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Advancing to step 11:
480 divided by 51 is 9 with a remainder of 21.
The next digit of our result is 9. 
Result so far: 17062.23529
Subtract 459 from 480 to get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Let's proceed to step 12:
When dividing 210 by 51, we get 4 with a remainder of 6.
The number 4 becomes the next digit in our result. 
Result so far: 17062.235294
Subtracting 204 from 210 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 13:
60 divided by 51 is 1 with a remainder of 9.
Write down 1 as next digit of the result. 
Result so far: 17062.2352941
Subtracting 51 from 60 leaves us with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 14:
51 can be fit into 90 1 times, resulting in a remainder of 39.
Use 1 as the next digit of our solution. 
Result so far: 17062.23529411
The remainder is 39 after subtracting 51 from 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Our division results in 17062.23529411 with a remaining 3.9e-08.