We look at the division of 31564 by 28 
We want to divide 31564 by 28.

Let's proceed to step 1:
If we divide 3 by 28, we get 0 and a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 28

On to step 2:
31 divided by 28 is 1 with a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtracting 28 from 31 leaves us with 3.
Append the next digit (5) from the dividend to 3 and continue with: 35 / 28

On to step 3:
The number 28 fits into 35 1 times, leaving a remainder of 7.
Write down 1 as next digit of the result. 
Result so far: 11.0
Subtracting 28 from 35 leaves us with 7.
Include the next digit (6) from the dividend after 7, then repeat: 76 / 28

Moving on to step 4:
28 can be fit into 76 2 times, resulting in a remainder of 20.
Put 2 as the next digit of the answer. 
Result so far: 112.0
If we take 56 away from 76, we end up with 20.
Fetch the next digit (4) from the dividend, attach it to 20 and continue: 204 / 28

Let's proceed to step 5:
If we divide 204 by 28, we get 7 and a remainder of 8.
Use 7 as the next digit of our solution. 
Result so far: 1127.0
If we subtract 196 from 204, 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.

Moving on to step 6:
If we divide 80 by 28, we get 2 and a remainder of 24.
Record the quotient 2 as the next digit in the result. 
Result so far: 1127.2
Deduct 56 from 80 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 7:
28 goes into 240 8 times with a remainder of 16.
Put 8 as the next digit of the answer. 
Result so far: 1127.28
The remainder is 16 after subtracting 224 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 8:
The number 28 fits into 160 5 times, leaving a remainder of 20.
Record the quotient 5 as the next digit in the result. 
Result so far: 1127.285
If we subtract 140 from 160, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 9:
28 can be fit into 200 7 times, resulting in a remainder of 4.
Record the quotient 7 as the next digit in the result. 
Result so far: 1127.2857
If we subtract 196 from 200, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 10:
When dividing 40 by 28, we get 1 with a remainder of 12.
Record the quotient 1 as the next digit in the result. 
Result so far: 1127.28571
The remainder is 12 after subtracting 28 from 40.
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 11:
28 can be fit into 120 4 times, resulting in a remainder of 8.
Put 4 as the next digit of the answer. 
Result so far: 1127.285714
Deduct 112 from 120 and we're left 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.

Going ahead to step 12:
When dividing 80 by 28, we get 2 with a remainder of 24.
Use 2 as the next digit of our solution. 
Result so far: 1127.2857142
Subtracting 56 from 80 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Moving on to step 13:
28 goes into 240 8 times with a remainder of 16.
Put 8 as the next digit of the answer. 
Result so far: 1127.28571428
If we take 224 away from 240, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

The final outcome is 1127.28571428, with a leftover of 1.6e-08.