We're dividing 331078 by 38 
We want to figure out the number of times 331078 can be divided by 38.

Moving on 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
Subtract 0 from 3 to get 3.
Include the next digit (3) from the dividend after 3, then repeat: 33 / 38

Moving on to step 2:
The number 38 fits into 33 0 times, leaving a remainder of 33.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 33 leaves us with 33.
Grab the next digit (1) from the dividend, add it to 33, then carry on: 331 / 38

Let's proceed to step 3:
331 divided by 38 is 8 with a remainder of 27.
Use 8 as the next digit of our solution. 
Result so far: 8.0
If we subtract 304 from 331, we get 27.
Append the next digit (0) from the dividend to 27 and continue with: 270 / 38

Going ahead to step 4:
270 divided by 38 is 7 with a remainder of 4.
Use 7 as the next digit of our solution. 
Result so far: 87.0
If we take 266 away from 270, we end up with 4.
Include the next digit (7) from the dividend after 4, then repeat: 47 / 38

Step 5:
38 goes into 47 1 times with a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 871.0
Deduct 38 from 47 and we're left with 9.
Include the next digit (8) from the dividend after 9, then repeat: 98 / 38

Advancing to step 6:
If we divide 98 by 38, we get 2 and a remainder of 22.
The next digit of our result is 2. 
Result so far: 8712.0
The remainder is 22 after subtracting 76 from 98.
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 7:
220 divided by 38 is 5 with a remainder of 30.
Use 5 as the next digit of our solution. 
Result so far: 8712.5
Subtracting 190 from 220 leaves us 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.

Let's proceed to step 8:
If we divide 300 by 38, we get 7 and a remainder of 34.
The next digit of our result is 7. 
Result so far: 8712.57
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.

Let's proceed to step 9:
The number 38 fits into 340 8 times, leaving a remainder of 36.
The number 8 becomes the next digit in our result. 
Result so far: 8712.578
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.

On to step 10:
360 divided by 38 is 9 with a remainder of 18.
Record the quotient 9 as the next digit in the result. 
Result so far: 8712.5789
If we subtract 342 from 360, 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.

Advancing to step 11:
The number 38 fits into 180 4 times, leaving a remainder of 28.
The next digit of our result is 4. 
Result so far: 8712.57894
Subtracting 152 from 180 leaves us 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.

Step 12:
If we divide 280 by 38, we get 7 and a remainder of 14.
Write down 7 as next digit of the result. 
Result so far: 8712.578947
The remainder is 14 after subtracting 266 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 13:
When dividing 140 by 38, we get 3 with a remainder of 26.
The next digit of our result is 3. 
Result so far: 8712.5789473
If we subtract 114 from 140, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Going ahead to step 14:
38 can be fit into 260 6 times, resulting in a remainder of 32.
Record the quotient 6 as the next digit in the result. 
Result so far: 8712.57894736
The remainder is 32 after subtracting 228 from 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

In conclusion, the division gives 8712.57894736 with a balance of 3.2e-08.