We look at the division of 39578 by 38 
We want to figure out the number of times 39578 can be divided by 38.

Going ahead to step 1:
The number 38 fits into 3 0 times, leaving a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 38

Step 2:
38 goes into 39 1 times with a remainder of 1.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 38 from 39, we get 1.
Include the next digit (5) from the dividend after 1, then repeat: 15 / 38

Going ahead to step 3:
If we divide 15 by 38, we get 0 and a remainder of 15.
Write down 0 as next digit of the result. 
Result so far: 10.0
Deduct 0 from 15 and we're left with 15.
Append the next digit (7) from the dividend to 15 and continue with: 157 / 38

On to step 4:
38 can be fit into 157 4 times, resulting in a remainder of 5.
Put 4 as the next digit of the answer. 
Result so far: 104.0
If we take 152 away from 157, we end up with 5.
Include the next digit (8) from the dividend after 5, then repeat: 58 / 38

Step 5:
When dividing 58 by 38, we get 1 with a remainder of 20.
The number 1 becomes the next digit in our result. 
Result so far: 1041.0
The remainder is 20 after subtracting 38 from 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 6:
When dividing 200 by 38, we get 5 with a remainder of 10.
The next digit of our result is 5. 
Result so far: 1041.5
If we take 190 away from 200, we end up 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.

Let's proceed to step 7:
If we divide 100 by 38, we get 2 and a remainder of 24.
The next digit of our result is 2. 
Result so far: 1041.52
If we subtract 76 from 100, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 8:
If we divide 240 by 38, we get 6 and a remainder of 12.
The next digit of our result is 6. 
Result so far: 1041.526
If we take 228 away from 240, we end up with 12.
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 9:
The number 38 fits into 120 3 times, leaving a remainder of 6.
Put 3 as the next digit of the answer. 
Result so far: 1041.5263
Deduct 114 from 120 and we're left 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.

On to step 10:
38 goes into 60 1 times with a remainder of 22.
The number 1 becomes the next digit in our result. 
Result so far: 1041.52631
The remainder is 22 after subtracting 38 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Moving on to step 11:
If we divide 220 by 38, we get 5 and a remainder of 30.
Put 5 as the next digit of the answer. 
Result so far: 1041.526315
Deduct 190 from 220 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 12:
The number 38 fits into 300 7 times, leaving a remainder of 34.
Write down 7 as next digit of the result. 
Result so far: 1041.5263157
Subtract 266 from 300 to get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Going ahead to step 13:
38 goes into 340 8 times with a remainder of 36.
Put 8 as the next digit of the answer. 
Result so far: 1041.52631578
Subtracting 304 from 340 leaves us with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Our division results in 1041.52631578 with a remaining 3.6e-08.