We look at the division of 252704 by 31 
We want to divide 252704 by 31.

Let's proceed to step 1:
31 goes into 2 0 times with a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Append the next digit (5) from the dividend to 2 and continue with: 25 / 31

Step 2:
25 divided by 31 is 0 with a remainder of 25.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 25, we end up with 25.
Grab the next digit (2) from the dividend, add it to 25, then carry on: 252 / 31

Advancing to step 3:
252 divided by 31 is 8 with a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 8.0
Subtracting 248 from 252 leaves us with 4.
Append the next digit (7) from the dividend to 4 and continue with: 47 / 31

Moving on to step 4:
If we divide 47 by 31, we get 1 and a remainder of 16.
The number 1 becomes the next digit in our result. 
Result so far: 81.0
The remainder is 16 after subtracting 31 from 47.
Bring next digit (0) of the dividend behind the 16 and repeat the process: 160 / 31

Going ahead to step 5:
160 divided by 31 is 5 with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 815.0
Deduct 155 from 160 and we're left with 5.
Take the next digit (4) from the dividend and append it to 5, then repeat: 54 / 31

Advancing to step 6:
54 divided by 31 is 1 with a remainder of 23.
Record the quotient 1 as the next digit in the result. 
Result so far: 8151.0
Subtract 31 from 54 to get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

On to step 7:
230 divided by 31 is 7 with a remainder of 13.
Put 7 as the next digit of the answer. 
Result so far: 8151.7
If we subtract 217 from 230, we get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Step 8:
When dividing 130 by 31, we get 4 with a remainder of 6.
The next digit of our result is 4. 
Result so far: 8151.74
If we subtract 124 from 130, we get 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 9:
The number 31 fits into 60 1 times, leaving a remainder of 29.
Use 1 as the next digit of our solution. 
Result so far: 8151.741
If we take 31 away from 60, we end up with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Moving on to step 10:
31 can be fit into 290 9 times, resulting in a remainder of 11.
Put 9 as the next digit of the answer. 
Result so far: 8151.7419
Subtract 279 from 290 to get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

On to step 11:
110 divided by 31 is 3 with a remainder of 17.
The number 3 becomes the next digit in our result. 
Result so far: 8151.74193
Subtracting 93 from 110 leaves us with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Going ahead to step 12:
If we divide 170 by 31, we get 5 and a remainder of 15.
Record the quotient 5 as the next digit in the result. 
Result so far: 8151.741935
If we take 155 away from 170, we end up 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.

Going ahead to step 13:
31 goes into 150 4 times with a remainder of 26.
The number 4 becomes the next digit in our result. 
Result so far: 8151.7419354
Deduct 124 from 150 and we're left with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Let's proceed to step 14:
If we divide 260 by 31, we get 8 and a remainder of 12.
Use 8 as the next digit of our solution. 
Result so far: 8151.74193548
Deduct 248 from 260 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

The final result is 8151.74193548 with a remainder of 1.2e-08.