399835 divided by 38 
We're looking to find how many times 38 goes into 399835.

Advancing to step 1:
If we divide 3 by 38, we get 0 and a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Append the next digit (9) from the dividend to 3 and continue with: 39 / 38

Step 2:
When dividing 39 by 38, we get 1 with a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtracting 38 from 39 leaves us with 1.
Append the next digit (9) from the dividend to 1 and continue with: 19 / 38

Let's proceed to step 3:
If we divide 19 by 38, we get 0 and a remainder of 19.
Put 0 as the next digit of the answer. 
Result so far: 10.0
The remainder is 19 after subtracting 0 from 19.
Append the next digit (8) from the dividend to 19 and continue with: 198 / 38

Going ahead to step 4:
If we divide 198 by 38, we get 5 and a remainder of 8.
Use 5 as the next digit of our solution. 
Result so far: 105.0
Subtracting 190 from 198 leaves us with 8.
Append the next digit (3) from the dividend to 8 and continue with: 83 / 38

Moving on to step 5:
The number 38 fits into 83 2 times, leaving a remainder of 7.
Record the quotient 2 as the next digit in the result. 
Result so far: 1052.0
If we subtract 76 from 83, we get 7.
Take the next digit (5) from the dividend and append it to 7, then repeat: 75 / 38

Let's proceed to step 6:
38 can be fit into 75 1 times, resulting in a remainder of 37.
Put 1 as the next digit of the answer. 
Result so far: 10521.0
Deduct 38 from 75 and we're left with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

On to step 7:
38 goes into 370 9 times with a remainder of 28.
The next digit of our result is 9. 
Result so far: 10521.9
Deduct 342 from 370 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Going ahead to step 8:
38 goes into 280 7 times with a remainder of 14.
The next digit of our result is 7. 
Result so far: 10521.97
Subtract 266 from 280 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 9:
The number 38 fits into 140 3 times, leaving a remainder of 26.
The number 3 becomes the next digit in our result. 
Result so far: 10521.973
Deduct 114 from 140 and we're left with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Let's proceed to step 10:
38 goes into 260 6 times with a remainder of 32.
Use 6 as the next digit of our solution. 
Result so far: 10521.9736
Subtracting 228 from 260 leaves us with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Let's proceed to step 11:
The number 38 fits into 320 8 times, leaving a remainder of 16.
The next digit of our result is 8. 
Result so far: 10521.97368
Subtracting 304 from 320 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 12:
The number 38 fits into 160 4 times, leaving a remainder of 8.
Write down 4 as next digit of the result. 
Result so far: 10521.973684
Deduct 152 from 160 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.

On to step 13:
When dividing 80 by 38, we get 2 with a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 10521.9736842
Deduct 76 from 80 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.

On to step 14:
38 goes into 40 1 times with a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 10521.97368421
Subtract 38 from 40 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

The final outcome is 10521.97368421, with a leftover of 2e-09.