798158 divided by 38 
Our goal is to divide 798158 by 38.

Advancing to step 1:
The number 38 fits into 7 0 times, leaving a remainder of 7.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 7, we get 7.
Take the next digit (9) from the dividend and append it to 7, then repeat: 79 / 38

On to step 2:
The number 38 fits into 79 2 times, leaving a remainder of 3.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtract 76 from 79 to get 3.
Grab the next digit (8) from the dividend, add it to 3, then carry on: 38 / 38

On to step 3:
38 goes into 38 1 times with a remainder of 0.
Put 1 as the next digit of the answer. 
Result so far: 21.0
If we take 38 away from 38, we end up with 0.
Take the next digit (1) from the dividend and append it to 0, then repeat: 1 / 38

Step 4:
The number 38 fits into 1 0 times, leaving a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 210.0
If we take 0 away from 1, we end up with 1.
Fetch the next digit (5) from the dividend, attach it to 1 and continue: 15 / 38

Step 5:
38 can be fit into 15 0 times, resulting in a remainder of 15.
Use 0 as the next digit of our solution. 
Result so far: 2100.0
If we subtract 0 from 15, we get 15.
Append the next digit (8) from the dividend to 15 and continue with: 158 / 38

Let's proceed to step 6:
158 divided by 38 is 4 with a remainder of 6.
The number 4 becomes the next digit in our result. 
Result so far: 21004.0
Deduct 152 from 158 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 7:
38 can be fit into 60 1 times, resulting in a remainder of 22.
Record the quotient 1 as the next digit in the result. 
Result so far: 21004.1
Subtracting 38 from 60 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 8:
38 goes into 220 5 times with a remainder of 30.
Record the quotient 5 as the next digit in the result. 
Result so far: 21004.15
Deduct 190 from 220 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 9:
If we divide 300 by 38, we get 7 and a remainder of 34.
Use 7 as the next digit of our solution. 
Result so far: 21004.157
If we take 266 away from 300, we end up 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.

Step 10:
The number 38 fits into 340 8 times, leaving a remainder of 36.
Record the quotient 8 as the next digit in the result. 
Result so far: 21004.1578
Subtracting 304 from 340 leaves us with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Moving on to step 11:
The number 38 fits into 360 9 times, leaving a remainder of 18.
The next digit of our result is 9. 
Result so far: 21004.15789
Deduct 342 from 360 and we're left 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.

Let's proceed to step 12:
When dividing 180 by 38, we get 4 with a remainder of 28.
Write down 4 as next digit of the result. 
Result so far: 21004.157894
The remainder is 28 after subtracting 152 from 180.
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 13:
If we divide 280 by 38, we get 7 and a remainder of 14.
The number 7 becomes the next digit in our result. 
Result so far: 21004.1578947
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.

Advancing to step 14:
38 goes into 140 3 times with a remainder of 26.
The next digit of our result is 3. 
Result so far: 21004.15789473
If we subtract 114 from 140, we get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

The final outcome is 21004.15789473, with a leftover of 2.6e-08.