We divide 297787 by 38
Our goal is to divide 297787 by 38.

Moving on to step 1:
If we divide 2 by 38, we get 0 and a remainder of 2.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 2 leaves us with 2.
Include the next digit (9) from the dividend after 2, then repeat: 29 / 38

Let's proceed to step 2:
If we divide 29 by 38, we get 0 and a remainder of 29.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 29 after subtracting 0 from 29.
Append the next digit (7) from the dividend to 29 and continue with: 297 / 38

Step 3:
38 goes into 297 7 times with a remainder of 31.
The number 7 becomes the next digit in our result. 
Result so far: 7.0
The remainder is 31 after subtracting 266 from 297.
Grab the next digit (7) from the dividend, add it to 31, then carry on: 317 / 38

Going ahead to step 4:
38 can be fit into 317 8 times, resulting in a remainder of 13.
Put 8 as the next digit of the answer. 
Result so far: 78.0
Deduct 304 from 317 and we're left with 13.
Include the next digit (8) from the dividend after 13, then repeat: 138 / 38

On to step 5:
The number 38 fits into 138 3 times, leaving a remainder of 24.
Put 3 as the next digit of the answer. 
Result so far: 783.0
Subtracting 114 from 138 leaves us with 24.
Grab the next digit (7) from the dividend, add it to 24, then carry on: 247 / 38

Let's proceed to step 6:
If we divide 247 by 38, we get 6 and a remainder of 19.
Write down 6 as next digit of the result. 
Result so far: 7836.0
The remainder is 19 after subtracting 228 from 247.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Moving on to step 7:
190 divided by 38 is 5 with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 7836.5
The remainder is 0 after subtracting 190 from 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 8:
If we divide 0 by 38, we get 0 and a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 7836.5
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.

Moving on to step 9:
If we divide 0 by 38, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 7836.5
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 final outcome is 7836.5, with a leftover of 0.0.