We look at the division of 399962 by 13 
Our goal is to divide 399962 by 13.

Going ahead to step 1:
If we divide 3 by 13, we get 0 and a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Append the next digit (9) from the dividend to 3 and continue with: 39 / 13

On to step 2:
If we divide 39 by 13, we get 3 and a remainder of 0.
The next digit of our result is 3. 
Result so far: 3.0
The remainder is 0 after subtracting 39 from 39.
Bring next digit (9) of the dividend behind the 0 and repeat the process: 9 / 13

Let's proceed to step 3:
13 goes into 9 0 times with a remainder of 9.
The next digit of our result is 0. 
Result so far: 30.0
Subtract 0 from 9 to get 9.
Grab the next digit (9) from the dividend, add it to 9, then carry on: 99 / 13

Going ahead to step 4:
The number 13 fits into 99 7 times, leaving a remainder of 8.
Use 7 as the next digit of our solution. 
Result so far: 307.0
Subtracting 91 from 99 leaves us with 8.
Include the next digit (6) from the dividend after 8, then repeat: 86 / 13

Step 5:
86 divided by 13 is 6 with a remainder of 8.
The next digit of our result is 6. 
Result so far: 3076.0
Deduct 78 from 86 and we're left with 8.
Grab the next digit (2) from the dividend, add it to 8, then carry on: 82 / 13

Let's proceed to step 6:
When dividing 82 by 13, we get 6 with a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 30766.0
Subtracting 78 from 82 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.

Step 7:
If we divide 40 by 13, we get 3 and a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 30766.3
The remainder is 1 after subtracting 39 from 40.
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 8:
13 goes into 10 0 times with a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 30766.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.

Moving on to step 9:
If we divide 100 by 13, we get 7 and a remainder of 9.
Put 7 as the next digit of the answer. 
Result so far: 30766.307
If we subtract 91 from 100, we 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.

Moving on to step 10:
If we divide 90 by 13, we get 6 and a remainder of 12.
Record the quotient 6 as the next digit in the result. 
Result so far: 30766.3076
The remainder is 12 after subtracting 78 from 90.
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:
When dividing 120 by 13, we get 9 with a remainder of 3.
The next digit of our result is 9. 
Result so far: 30766.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.

Moving on to step 12:
13 goes into 30 2 times with a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 30766.307692
If we take 26 away from 30, we end up 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 13:
13 goes into 40 3 times with a remainder of 1.
Record the quotient 3 as the next digit in the result. 
Result so far: 30766.3076923
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.

Advancing to step 14:
13 can be fit into 10 0 times, resulting in a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 30766.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.

Our division results in 30766.3076923 with a remaining 1e-08.