399297 divided by 13 
Let's see how many times 13 fits into 399297.

Step 1:
13 goes into 3 0 times with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 13

Let's proceed to step 2:
13 goes into 39 3 times with a remainder of 0.
Put 3 as the next digit of the answer. 
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

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

Going ahead to step 4:
92 divided by 13 is 7 with a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 307.0
Deduct 91 from 92 and we're left with 1.
Include the next digit (9) from the dividend after 1, then repeat: 19 / 13

Step 5:
When dividing 19 by 13, we get 1 with a remainder of 6.
Use 1 as the next digit of our solution. 
Result so far: 3071.0
Deduct 13 from 19 and we're left with 6.
Grab the next digit (7) from the dividend, add it to 6, then carry on: 67 / 13

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

Let's proceed to step 7:
20 divided by 13 is 1 with a remainder of 7.
Use 1 as the next digit of our solution. 
Result so far: 30715.1
The remainder is 7 after subtracting 13 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

On to step 8:
The number 13 fits into 70 5 times, leaving a remainder of 5.
The next digit of our result is 5. 
Result so far: 30715.15
Deduct 65 from 70 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 9:
13 goes into 50 3 times with a remainder of 11.
Write down 3 as next digit of the result. 
Result so far: 30715.153
The remainder is 11 after subtracting 39 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Going ahead to step 10:
When dividing 110 by 13, we get 8 with a remainder of 6.
The next digit of our result is 8. 
Result so far: 30715.1538
If we subtract 104 from 110, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 11:
When dividing 60 by 13, we get 4 with a remainder of 8.
The next digit of our result is 4. 
Result so far: 30715.15384
Deduct 52 from 60 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.

Let's proceed to step 12:
The number 13 fits into 80 6 times, leaving a remainder of 2.
Write down 6 as next digit of the result. 
Result so far: 30715.153846
If we take 78 away from 80, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 13:
13 can be fit into 20 1 times, resulting in a remainder of 7.
Write down 1 as next digit of the result. 
Result so far: 30715.1538461
If we take 13 away from 20, 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.

Going ahead to step 14:
When dividing 70 by 13, we get 5 with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 30715.15384615
The remainder is 5 after subtracting 65 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

The quotient of the division is 30715.15384615, and the remainder is 5e-09.