We look at the division of 393165 by 38 
We're looking to find how many times 38 goes into 393165.

Step 1:
38 goes into 3 0 times with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 38

On to step 2:
38 goes into 39 1 times with a remainder of 1.
The next digit of our result is 1. 
Result so far: 1.0
Deduct 38 from 39 and we're left with 1.
Append the next digit (3) from the dividend to 1 and continue with: 13 / 38

Moving on to step 3:
13 divided by 38 is 0 with a remainder of 13.
Use 0 as the next digit of our solution. 
Result so far: 10.0
Subtract 0 from 13 to get 13.
Grab the next digit (1) from the dividend, add it to 13, then carry on: 131 / 38

Step 4:
131 divided by 38 is 3 with a remainder of 17.
The next digit of our result is 3. 
Result so far: 103.0
Subtract 114 from 131 to get 17.
Bring next digit (6) of the dividend behind the 17 and repeat the process: 176 / 38

Going ahead to step 5:
38 can be fit into 176 4 times, resulting in a remainder of 24.
Record the quotient 4 as the next digit in the result. 
Result so far: 1034.0
If we take 152 away from 176, we end up with 24.
Grab the next digit (5) from the dividend, add it to 24, then carry on: 245 / 38

Step 6:
38 goes into 245 6 times with a remainder of 17.
Use 6 as the next digit of our solution. 
Result so far: 10346.0
Deduct 228 from 245 and we're left with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Going ahead to step 7:
38 goes into 170 4 times with a remainder of 18.
The number 4 becomes the next digit in our result. 
Result so far: 10346.4
If we subtract 152 from 170, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Let's proceed to step 8:
When dividing 180 by 38, we get 4 with a remainder of 28.
The number 4 becomes the next digit in our result. 
Result so far: 10346.44
The remainder is 28 after subtracting 152 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

The final outcome is 10346.44, with a leftover of 0.028.