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

Let's proceed to step 1:
If we divide 2 by 38, we get 0 and a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Take the next digit (3) from the dividend and append it to 2, then repeat: 23 / 38

Moving on to step 2:
When dividing 23 by 38, we get 0 with a remainder of 23.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 23 and we're left with 23.
Include the next digit (6) from the dividend after 23, then repeat: 236 / 38

Going ahead to step 3:
38 goes into 236 6 times with a remainder of 8.
The number 6 becomes the next digit in our result. 
Result so far: 6.0
Deduct 228 from 236 and we're left with 8.
Include the next digit (7) from the dividend after 8, then repeat: 87 / 38

Going ahead to step 4:
87 divided by 38 is 2 with a remainder of 11.
Use 2 as the next digit of our solution. 
Result so far: 62.0
Subtracting 76 from 87 leaves us with 11.
Fetch the next digit (7) from the dividend, attach it to 11 and continue: 117 / 38

Advancing to step 5:
When dividing 117 by 38, we get 3 with a remainder of 3.
The next digit of our result is 3. 
Result so far: 623.0
The remainder is 3 after subtracting 114 from 117.
Include the next digit (8) from the dividend after 3, then repeat: 38 / 38

Moving on to step 6:
38 divided by 38 is 1 with a remainder of 0.
Record the quotient 1 as the next digit in the result. 
Result so far: 6231.0
The remainder is 0 after subtracting 38 from 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 7:
0 divided by 38 is 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 6231.0
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 8:
The number 38 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 6231.0
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 6231.0, and the remainder is 0.0.