We divide 399676 by 13
We're looking to find how many times 13 goes into 399676.

On to step 1:
When dividing 3 by 13, we get 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 13

Moving on to step 2:
39 divided by 13 is 3 with a remainder of 0.
Write down 3 as next digit of the result. 
Result so far: 3.0
If we subtract 39 from 39, we get 0.
Bring next digit (9) of the dividend behind the 0 and repeat the process: 9 / 13

Step 3:
If we divide 9 by 13, we get 0 and a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 30.0
If we subtract 0 from 9, we get 9.
Include the next digit (6) from the dividend after 9, then repeat: 96 / 13

Going ahead to step 4:
13 goes into 96 7 times with a remainder of 5.
Put 7 as the next digit of the answer. 
Result so far: 307.0
If we subtract 91 from 96, we get 5.
Take the next digit (7) from the dividend and append it to 5, then repeat: 57 / 13

Advancing to step 5:
13 can be fit into 57 4 times, resulting in a remainder of 5.
Put 4 as the next digit of the answer. 
Result so far: 3074.0
If we take 52 away from 57, we end up with 5.
Include the next digit (6) from the dividend after 5, then repeat: 56 / 13

Let's proceed to step 6:
The number 13 fits into 56 4 times, leaving a remainder of 4.
Write down 4 as next digit of the result. 
Result so far: 30744.0
Deduct 52 from 56 and we're left 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.

Let's proceed to step 7:
13 can be fit into 40 3 times, resulting in a remainder of 1.
Record the quotient 3 as the next digit in the result. 
Result so far: 30744.3
Subtract 39 from 40 to 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.

Let's proceed to step 8:
If we divide 10 by 13, we get 0 and a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 30744.3
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.

Going ahead to step 9:
13 can be fit into 100 7 times, resulting in a remainder of 9.
The next digit of our result is 7. 
Result so far: 30744.307
Subtracting 91 from 100 leaves us 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.

Step 10:
13 goes into 90 6 times with a remainder of 12.
Record the quotient 6 as the next digit in the result. 
Result so far: 30744.3076
Subtracting 78 from 90 leaves us 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.

Let's proceed to step 11:
13 goes into 120 9 times with a remainder of 3.
The number 9 becomes the next digit in our result. 
Result so far: 30744.30769
Subtract 117 from 120 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 12:
13 can be fit into 30 2 times, resulting in a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 30744.307692
Deduct 26 from 30 and we're left 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 13:
The number 13 fits into 40 3 times, leaving a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 30744.3076923
If we subtract 39 from 40, 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.

Moving on to step 14:
When dividing 10 by 13, we get 0 with a remainder of 10.
The next digit of our result is 0. 
Result so far: 30744.3076923
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.

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