Let's divide 316580 by 13
We want to divide 316580 by 13.

Moving on to step 1:
If we divide 3 by 13, we get 0 and a remainder of 3.
The next digit of our result is 0. 
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 / 13

Let's proceed to step 2:
The number 13 fits into 31 2 times, leaving a remainder of 5.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
The remainder is 5 after subtracting 26 from 31.
Fetch the next digit (6) from the dividend, attach it to 5 and continue: 56 / 13

Advancing to step 3:
The number 13 fits into 56 4 times, leaving a remainder of 4.
Put 4 as the next digit of the answer. 
Result so far: 24.0
If we take 52 away from 56, we end up with 4.
Include the next digit (5) from the dividend after 4, then repeat: 45 / 13

Moving on to step 4:
The number 13 fits into 45 3 times, leaving a remainder of 6.
Put 3 as the next digit of the answer. 
Result so far: 243.0
Subtracting 39 from 45 leaves us with 6.
Fetch the next digit (8) from the dividend, attach it to 6 and continue: 68 / 13

Going ahead to step 5:
The number 13 fits into 68 5 times, leaving a remainder of 3.
The next digit of our result is 5. 
Result so far: 2435.0
If we subtract 65 from 68, we get 3.
Append the next digit (0) from the dividend to 3 and continue with: 30 / 13

Going ahead to step 6:
If we divide 30 by 13, we get 2 and a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 24352.0
Subtracting 26 from 30 leaves us with 4.
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:
13 can be fit into 40 3 times, resulting in a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 24352.3
Deduct 39 from 40 and we're left 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.

On to step 8:
When dividing 10 by 13, we get 0 with a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 24352.3
Deduct 0 from 10 and we're left 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.

Step 9:
The number 13 fits into 100 7 times, leaving a remainder of 9.
The next digit of our result is 7. 
Result so far: 24352.307
If we take 91 away from 100, we end up 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.

Moving on to step 10:
The number 13 fits into 90 6 times, leaving a remainder of 12.
Record the quotient 6 as the next digit in the result. 
Result so far: 24352.3076
If we take 78 away from 90, we end up 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.

Going ahead to step 11:
13 can be fit into 120 9 times, resulting in a remainder of 3.
The number 9 becomes the next digit in our result. 
Result so far: 24352.30769
If we take 117 away from 120, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 12:
The number 13 fits into 30 2 times, leaving a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 24352.307692
The remainder is 4 after subtracting 26 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 13:
The number 13 fits into 40 3 times, leaving a remainder of 1.
Use 3 as the next digit of our solution. 
Result so far: 24352.3076923
Subtracting 39 from 40 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.

Going ahead to step 14:
The number 13 fits into 10 0 times, leaving a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 24352.3076923
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.

After the division, we end up with 24352.3076923 and a remainder of 1e-08.