We're dividing 800165 by 38 
Our goal is to divide 800165 by 38.

Going ahead to step 1:
If we divide 8 by 38, we get 0 and a remainder of 8.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Include the next digit (0) from the dividend after 8, then repeat: 80 / 38

On to step 2:
38 goes into 80 2 times with a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 2.0
The remainder is 4 after subtracting 76 from 80.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 38

Going ahead to step 3:
40 divided by 38 is 1 with a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 21.0
Subtract 38 from 40 to get 2.
Fetch the next digit (1) from the dividend, attach it to 2 and continue: 21 / 38

Step 4:
When dividing 21 by 38, we get 0 with a remainder of 21.
Use 0 as the next digit of our solution. 
Result so far: 210.0
If we subtract 0 from 21, we get 21.
Append the next digit (6) from the dividend to 21 and continue with: 216 / 38

Step 5:
38 can be fit into 216 5 times, resulting in a remainder of 26.
Record the quotient 5 as the next digit in the result. 
Result so far: 2105.0
The remainder is 26 after subtracting 190 from 216.
Bring next digit (5) of the dividend behind the 26 and repeat the process: 265 / 38

Going ahead to step 6:
When dividing 265 by 38, we get 6 with a remainder of 37.
The next digit of our result is 6. 
Result so far: 21056.0
Deduct 228 from 265 and we're left with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Moving on to step 7:
If we divide 370 by 38, we get 9 and a remainder of 28.
Use 9 as the next digit of our solution. 
Result so far: 21056.9
Subtracting 342 from 370 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.

Going ahead to step 8:
When dividing 280 by 38, we get 7 with a remainder of 14.
Put 7 as the next digit of the answer. 
Result so far: 21056.97
If we take 266 away from 280, we end up 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.

Let's proceed to step 9:
140 divided by 38 is 3 with a remainder of 26.
The next digit of our result is 3. 
Result so far: 21056.973
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.

On to step 10:
260 divided by 38 is 6 with a remainder of 32.
Record the quotient 6 as the next digit in the result. 
Result so far: 21056.9736
If we subtract 228 from 260, we get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Step 11:
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: 21056.97368
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.

Step 12:
38 goes into 160 4 times with a remainder of 8.
The next digit of our result is 4. 
Result so far: 21056.973684
If we take 152 away from 160, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 13:
38 can be fit into 80 2 times, resulting in a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 21056.9736842
Subtract 76 from 80 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 14:
38 goes into 40 1 times with a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 21056.97368421
Subtract 38 from 40 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

In conclusion, the division gives 21056.97368421 with a balance of 2e-09.