We divide 398838 by 39
We want to figure out the number of times 398838 can be divided by 39.

On to step 1:
The number 39 fits into 3 0 times, leaving a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 39

Advancing to step 2:
The number 39 fits into 39 1 times, leaving a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtracting 39 from 39 leaves us with 0.
Take the next digit (8) from the dividend and append it to 0, then repeat: 8 / 39

Going ahead to step 3:
The number 39 fits into 8 0 times, leaving a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 10.0
The remainder is 8 after subtracting 0 from 8.
Bring next digit (8) of the dividend behind the 8 and repeat the process: 88 / 39

Advancing to step 4:
The number 39 fits into 88 2 times, leaving a remainder of 10.
Write down 2 as next digit of the result. 
Result so far: 102.0
Subtract 78 from 88 to get 10.
Grab the next digit (3) from the dividend, add it to 10, then carry on: 103 / 39

On to step 5:
39 can be fit into 103 2 times, resulting in a remainder of 25.
The next digit of our result is 2. 
Result so far: 1022.0
If we take 78 away from 103, we end up with 25.
Fetch the next digit (8) from the dividend, attach it to 25 and continue: 258 / 39

Moving on to step 6:
If we divide 258 by 39, we get 6 and a remainder of 24.
The number 6 becomes the next digit in our result. 
Result so far: 10226.0
The remainder is 24 after subtracting 234 from 258.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Let's proceed to step 7:
If we divide 240 by 39, we get 6 and a remainder of 6.
Use 6 as the next digit of our solution. 
Result so far: 10226.6
Subtracting 234 from 240 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 8:
The number 39 fits into 60 1 times, leaving a remainder of 21.
Put 1 as the next digit of the answer. 
Result so far: 10226.61
Deduct 39 from 60 and we're left with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Advancing to step 9:
If we divide 210 by 39, we get 5 and a remainder of 15.
Write down 5 as next digit of the result. 
Result so far: 10226.615
Subtract 195 from 210 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 10:
39 goes into 150 3 times with a remainder of 33.
The next digit of our result is 3. 
Result so far: 10226.6153
Subtract 117 from 150 to get 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

On to step 11:
330 divided by 39 is 8 with a remainder of 18.
Write down 8 as next digit of the result. 
Result so far: 10226.61538
If we take 312 away from 330, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Moving on to step 12:
If we divide 180 by 39, we get 4 and a remainder of 24.
The next digit of our result is 4. 
Result so far: 10226.615384
Deduct 156 from 180 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Moving on to step 13:
The number 39 fits into 240 6 times, leaving a remainder of 6.
Use 6 as the next digit of our solution. 
Result so far: 10226.6153846
Subtract 234 from 240 to 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.

Advancing to step 14:
60 divided by 39 is 1 with a remainder of 21.
Use 1 as the next digit of our solution. 
Result so far: 10226.61538461
Subtract 39 from 60 to get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

In conclusion, the division gives 10226.61538461 with a balance of 2.1e-08.