Let's divide 315565 by 31
We want to divide 315565 by 31.

Let's proceed to step 1:
When dividing 3 by 31, we get 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 31

Let's proceed to step 2:
31 goes into 31 1 times with a remainder of 0.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 31 from 31 to get 0.
Fetch the next digit (5) from the dividend, attach it to 0 and continue: 5 / 31

On to step 3:
5 divided by 31 is 0 with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 10.0
If we take 0 away from 5, we end up with 5.
Include the next digit (5) from the dividend after 5, then repeat: 55 / 31

Going ahead to step 4:
55 divided by 31 is 1 with a remainder of 24.
Write down 1 as next digit of the result. 
Result so far: 101.0
If we subtract 31 from 55, we get 24.
Grab the next digit (6) from the dividend, add it to 24, then carry on: 246 / 31

Going ahead to step 5:
31 can be fit into 246 7 times, resulting in a remainder of 29.
Put 7 as the next digit of the answer. 
Result so far: 1017.0
If we take 217 away from 246, we end up with 29.
Append the next digit (5) from the dividend to 29 and continue with: 295 / 31

Step 6:
If we divide 295 by 31, we get 9 and a remainder of 16.
The next digit of our result is 9. 
Result so far: 10179.0
Subtract 279 from 295 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 7:
31 can be fit into 160 5 times, resulting in a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 10179.5
The remainder is 5 after subtracting 155 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 8:
31 goes into 50 1 times with a remainder of 19.
Use 1 as the next digit of our solution. 
Result so far: 10179.51
Deduct 31 from 50 and we're left with 19.
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 9:
The number 31 fits into 190 6 times, leaving a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 10179.516
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.

Step 10:
If we divide 40 by 31, we get 1 and a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 10179.5161
Subtract 31 from 40 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Let's proceed to step 11:
31 can be fit into 90 2 times, resulting in a remainder of 28.
Use 2 as the next digit of our solution. 
Result so far: 10179.51612
Subtract 62 from 90 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 12:
280 divided by 31 is 9 with a remainder of 1.
Put 9 as the next digit of the answer. 
Result so far: 10179.516129
If we subtract 279 from 280, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 13:
31 can be fit into 10 0 times, resulting in a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 10179.516129
If we take 0 away from 10, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 14:
100 divided by 31 is 3 with a remainder of 7.
Use 3 as the next digit of our solution. 
Result so far: 10179.51612903
If we take 93 away from 100, we end up with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

The final result is 10179.51612903 with a remainder of 7e-09.