We're dividing 12574 by 31 
We're looking to find how many times 31 goes into 12574.

Going ahead to step 1:
When dividing 1 by 31, we get 0 with a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Grab the next digit (2) from the dividend, add it to 1, then carry on: 12 / 31

Let's proceed to step 2:
12 divided by 31 is 0 with a remainder of 12.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 12, we end up with 12.
Append the next digit (5) from the dividend to 12 and continue with: 125 / 31

Going ahead to step 3:
If we divide 125 by 31, we get 4 and a remainder of 1.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
If we take 124 away from 125, we end up with 1.
Fetch the next digit (7) from the dividend, attach it to 1 and continue: 17 / 31

Advancing to step 4:
The number 31 fits into 17 0 times, leaving a remainder of 17.
Use 0 as the next digit of our solution. 
Result so far: 40.0
Deduct 0 from 17 and we're left with 17.
Append the next digit (4) from the dividend to 17 and continue with: 174 / 31

Advancing to step 5:
The number 31 fits into 174 5 times, leaving a remainder of 19.
Put 5 as the next digit of the answer. 
Result so far: 405.0
The remainder is 19 after subtracting 155 from 174.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

On to step 6:
If we divide 190 by 31, we get 6 and a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 405.6
The remainder is 4 after subtracting 186 from 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 7:
40 divided by 31 is 1 with a remainder of 9.
The next digit of our result is 1. 
Result so far: 405.61
Deduct 31 from 40 and we're left 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.

On to step 8:
When dividing 90 by 31, we get 2 with a remainder of 28.
Record the quotient 2 as the next digit in the result. 
Result so far: 405.612
Subtracting 62 from 90 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Let's proceed to step 9:
The number 31 fits into 280 9 times, leaving a remainder of 1.
Write down 9 as next digit of the result. 
Result so far: 405.6129
Subtracting 279 from 280 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 10:
10 divided by 31 is 0 with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 405.6129
If we subtract 0 from 10, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 11:
31 goes into 100 3 times with a remainder of 7.
Record the quotient 3 as the next digit in the result. 
Result so far: 405.612903
If we subtract 93 from 100, we 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.

Moving on to step 12:
31 goes into 70 2 times with a remainder of 8.
The number 2 becomes the next digit in our result. 
Result so far: 405.6129032
If we subtract 62 from 70, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 13:
When dividing 80 by 31, we get 2 with a remainder of 18.
The next digit of our result is 2. 
Result so far: 405.61290322
If we subtract 62 from 80, we 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.

Our division results in 405.61290322 with a remaining 1.8e-08.