We look at the division of 787794 by 38 
We're looking to find how many times 38 goes into 787794.

On to step 1:
If we divide 7 by 38, we get 0 and a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 7 to get 7.
Include the next digit (8) from the dividend after 7, then repeat: 78 / 38

Advancing to step 2:
38 can be fit into 78 2 times, resulting in a remainder of 2.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Deduct 76 from 78 and we're left with 2.
Take the next digit (7) from the dividend and append it to 2, then repeat: 27 / 38

On to step 3:
38 goes into 27 0 times with a remainder of 27.
Record the quotient 0 as the next digit in the result. 
Result so far: 20.0
Deduct 0 from 27 and we're left with 27.
Include the next digit (7) from the dividend after 27, then repeat: 277 / 38

Going ahead to step 4:
38 goes into 277 7 times with a remainder of 11.
Record the quotient 7 as the next digit in the result. 
Result so far: 207.0
If we take 266 away from 277, we end up with 11.
Bring next digit (9) of the dividend behind the 11 and repeat the process: 119 / 38

Going ahead to step 5:
119 divided by 38 is 3 with a remainder of 5.
Record the quotient 3 as the next digit in the result. 
Result so far: 2073.0
The remainder is 5 after subtracting 114 from 119.
Bring next digit (4) of the dividend behind the 5 and repeat the process: 54 / 38

On to step 6:
When dividing 54 by 38, we get 1 with a remainder of 16.
Write down 1 as next digit of the result. 
Result so far: 20731.0
Deduct 38 from 54 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.

On to step 7:
When dividing 160 by 38, we get 4 with a remainder of 8.
Write down 4 as next digit of the result. 
Result so far: 20731.4
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.

Going ahead to step 8:
38 can be fit into 80 2 times, resulting in a remainder of 4.
Use 2 as the next digit of our solution. 
Result so far: 20731.42
If we subtract 76 from 80, we 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.

Advancing to step 9:
38 can be fit into 40 1 times, resulting in a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 20731.421
The remainder is 2 after subtracting 38 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 10:
If we divide 20 by 38, we get 0 and a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 20731.421
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Let's proceed to step 11:
38 can be fit into 200 5 times, resulting in a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 20731.42105
If we take 190 away from 200, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 12:
38 goes into 100 2 times with a remainder of 24.
The next digit of our result is 2. 
Result so far: 20731.421052
If we take 76 away from 100, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 13:
38 goes into 240 6 times with a remainder of 12.
Write down 6 as next digit of the result. 
Result so far: 20731.4210526
Subtracting 228 from 240 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 14:
38 can be fit into 120 3 times, resulting in a remainder of 6.
Put 3 as the next digit of the answer. 
Result so far: 20731.42105263
Subtract 114 from 120 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

The quotient of the division is 20731.42105263, and the remainder is 6e-09.