Let's divide 247542 by 31
Our goal is to divide 247542 by 31.

Let's proceed to step 1:
31 goes into 2 0 times with a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Fetch the next digit (4) from the dividend, attach it to 2 and continue: 24 / 31

On to step 2:
24 divided by 31 is 0 with a remainder of 24.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 24 leaves us with 24.
Include the next digit (7) from the dividend after 24, then repeat: 247 / 31

On to step 3:
The number 31 fits into 247 7 times, leaving a remainder of 30.
Write down 7 as next digit of the result. 
Result so far: 7.0
Deduct 217 from 247 and we're left with 30.
Grab the next digit (5) from the dividend, add it to 30, then carry on: 305 / 31

Step 4:
When dividing 305 by 31, we get 9 with a remainder of 26.
The next digit of our result is 9. 
Result so far: 79.0
The remainder is 26 after subtracting 279 from 305.
Bring next digit (4) of the dividend behind the 26 and repeat the process: 264 / 31

Going ahead to step 5:
31 can be fit into 264 8 times, resulting in a remainder of 16.
Write down 8 as next digit of the result. 
Result so far: 798.0
Subtracting 248 from 264 leaves us with 16.
Append the next digit (2) from the dividend to 16 and continue with: 162 / 31

On to step 6:
31 goes into 162 5 times with a remainder of 7.
Put 5 as the next digit of the answer. 
Result so far: 7985.0
Subtract 155 from 162 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Step 7:
70 divided by 31 is 2 with a remainder of 8.
Record the quotient 2 as the next digit in the result. 
Result so far: 7985.2
If we take 62 away from 70, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Advancing to step 8:
31 goes into 80 2 times with a remainder of 18.
The number 2 becomes the next digit in our result. 
Result so far: 7985.22
Subtract 62 from 80 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

The final outcome is 7985.22, with a leftover of 0.018.