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

Moving on to step 1:
When dividing 9 by 38, we get 0 with a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 9 leaves us with 9.
Fetch the next digit (9) from the dividend, attach it to 9 and continue: 99 / 38

On to step 2:
The number 38 fits into 99 2 times, leaving a remainder of 23.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Subtracting 76 from 99 leaves us with 23.
Grab the next digit (8) from the dividend, add it to 23, then carry on: 238 / 38

Step 3:
38 can be fit into 238 6 times, resulting in a remainder of 10.
Write down 6 as next digit of the result. 
Result so far: 26.0
If we subtract 228 from 238, we get 10.
Fetch the next digit (7) from the dividend, attach it to 10 and continue: 107 / 38

Step 4:
If we divide 107 by 38, we get 2 and a remainder of 31.
Put 2 as the next digit of the answer. 
Result so far: 262.0
Deduct 76 from 107 and we're left with 31.
Include the next digit (6) from the dividend after 31, then repeat: 316 / 38

On to step 5:
If we divide 316 by 38, we get 8 and a remainder of 12.
The number 8 becomes the next digit in our result. 
Result so far: 2628.0
Subtracting 304 from 316 leaves us with 12.
Grab the next digit (5) from the dividend, add it to 12, then carry on: 125 / 38

Advancing to step 6:
The number 38 fits into 125 3 times, leaving a remainder of 11.
Use 3 as the next digit of our solution. 
Result so far: 26283.0
The remainder is 11 after subtracting 114 from 125.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 7:
38 can be fit into 110 2 times, resulting in a remainder of 34.
Record the quotient 2 as the next digit in the result. 
Result so far: 26283.2
Deduct 76 from 110 and we're left with 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Moving on to step 8:
38 can be fit into 340 8 times, resulting in a remainder of 36.
The number 8 becomes the next digit in our result. 
Result so far: 26283.28
The remainder is 36 after subtracting 304 from 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Let's proceed to step 9:
38 goes into 360 9 times with a remainder of 18.
Put 9 as the next digit of the answer. 
Result so far: 26283.289
The remainder is 18 after subtracting 342 from 360.
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 10:
38 goes into 180 4 times with a remainder of 28.
Write down 4 as next digit of the result. 
Result so far: 26283.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.

Let's proceed to step 11:
If we divide 280 by 38, we get 7 and a remainder of 14.
The next digit of our result is 7. 
Result so far: 26283.28947
Subtracting 266 from 280 leaves us with 14.
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 12:
140 divided by 38 is 3 with a remainder of 26.
Write down 3 as next digit of the result. 
Result so far: 26283.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.

Let's proceed to step 13:
260 divided by 38 is 6 with a remainder of 32.
Write down 6 as next digit of the result. 
Result so far: 26283.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.

Advancing to step 14:
38 can be fit into 320 8 times, resulting in a remainder of 16.
Record the quotient 8 as the next digit in the result. 
Result so far: 26283.28947368
Deduct 304 from 320 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Our division results in 26283.28947368 with a remaining 1.6e-08.