We look at the division of 299223 by 38 
We want to divide 299223 by 38.

On to step 1:
38 can be fit into 2 0 times, resulting in a remainder of 2.
The number 0 becomes the next digit in our result. 
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

On to step 2:
38 goes into 29 0 times with a remainder of 29.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 29 to get 29.
Include the next digit (9) from the dividend after 29, then repeat: 299 / 38

Step 3:
If we divide 299 by 38, we get 7 and a remainder of 33.
Record the quotient 7 as the next digit in the result. 
Result so far: 7.0
Subtract 266 from 299 to get 33.
Fetch the next digit (2) from the dividend, attach it to 33 and continue: 332 / 38

Let's proceed to step 4:
38 goes into 332 8 times with a remainder of 28.
The number 8 becomes the next digit in our result. 
Result so far: 78.0
The remainder is 28 after subtracting 304 from 332.
Append the next digit (2) from the dividend to 28 and continue with: 282 / 38

Moving on to step 5:
282 divided by 38 is 7 with a remainder of 16.
Use 7 as the next digit of our solution. 
Result so far: 787.0
Deduct 266 from 282 and we're left with 16.
Include the next digit (3) from the dividend after 16, then repeat: 163 / 38

Let's proceed to step 6:
The number 38 fits into 163 4 times, leaving a remainder of 11.
Put 4 as the next digit of the answer. 
Result so far: 7874.0
If we take 152 away from 163, we end up with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

On to step 7:
If we divide 110 by 38, we get 2 and a remainder of 34.
Write down 2 as next digit of the result. 
Result so far: 7874.2
The remainder is 34 after subtracting 76 from 110.
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 8:
The number 38 fits into 340 8 times, leaving a remainder of 36.
Use 8 as the next digit of our solution. 
Result so far: 7874.28
Subtract 304 from 340 to get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Going ahead to step 9:
If we divide 360 by 38, we get 9 and a remainder of 18.
The next digit of our result is 9. 
Result so far: 7874.289
Subtracting 342 from 360 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 10:
38 can be fit into 180 4 times, resulting in a remainder of 28.
Write down 4 as next digit of the result. 
Result so far: 7874.2894
If we take 152 away from 180, we end up 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.

Advancing to step 11:
38 goes into 280 7 times with a remainder of 14.
The next digit of our result is 7. 
Result so far: 7874.28947
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.

Let's proceed to step 12:
When dividing 140 by 38, we get 3 with a remainder of 26.
Write down 3 as next digit of the result. 
Result so far: 7874.289473
Subtracting 114 from 140 leaves us with 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 13:
38 goes into 260 6 times with a remainder of 32.
Write down 6 as next digit of the result. 
Result so far: 7874.2894736
Subtracting 228 from 260 leaves us with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

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

After the division, we end up with 7874.28947368 and a remainder of 1.6e-08.