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

On to step 1:
39 can be fit into 7 0 times, resulting in a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 7 and we're left with 7.
Append the next digit (9) from the dividend to 7 and continue with: 79 / 39

Step 2:
The number 39 fits into 79 2 times, leaving a remainder of 1.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we take 78 away from 79, we end up with 1.
Bring next digit (3) of the dividend behind the 1 and repeat the process: 13 / 39

Advancing to step 3:
39 goes into 13 0 times with a remainder of 13.
The number 0 becomes the next digit in our result. 
Result so far: 20.0
If we take 0 away from 13, we end up with 13.
Take the next digit (1) from the dividend and append it to 13, then repeat: 131 / 39

Advancing to step 4:
When dividing 131 by 39, we get 3 with a remainder of 14.
Put 3 as the next digit of the answer. 
Result so far: 203.0
If we subtract 117 from 131, we get 14.
Bring next digit (7) of the dividend behind the 14 and repeat the process: 147 / 39

Step 5:
39 goes into 147 3 times with a remainder of 30.
Use 3 as the next digit of our solution. 
Result so far: 2033.0
If we subtract 117 from 147, we get 30.
Take the next digit (8) from the dividend and append it to 30, then repeat: 308 / 39

Step 6:
If we divide 308 by 39, we get 7 and a remainder of 35.
Use 7 as the next digit of our solution. 
Result so far: 20337.0
Subtract 273 from 308 to get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Going ahead to step 7:
39 can be fit into 350 8 times, resulting in a remainder of 38.
The next digit of our result is 8. 
Result so far: 20337.8
Subtracting 312 from 350 leaves us with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Moving on to step 8:
If we divide 380 by 39, we get 9 and a remainder of 29.
Record the quotient 9 as the next digit in the result. 
Result so far: 20337.89
Subtract 351 from 380 to get 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

On to step 9:
39 goes into 290 7 times with a remainder of 17.
Write down 7 as next digit of the result. 
Result so far: 20337.897
Subtracting 273 from 290 leaves us with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Advancing to step 10:
When dividing 170 by 39, we get 4 with a remainder of 14.
Put 4 as the next digit of the answer. 
Result so far: 20337.8974
Subtract 156 from 170 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 11:
The number 39 fits into 140 3 times, leaving a remainder of 23.
Record the quotient 3 as the next digit in the result. 
Result so far: 20337.89743
If we subtract 117 from 140, we get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Going ahead to step 12:
39 goes into 230 5 times with a remainder of 35.
Use 5 as the next digit of our solution. 
Result so far: 20337.897435
The remainder is 35 after subtracting 195 from 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Moving on to step 13:
350 divided by 39 is 8 with a remainder of 38.
The next digit of our result is 8. 
Result so far: 20337.8974358
If we subtract 312 from 350, we get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

On to step 14:
380 divided by 39 is 9 with a remainder of 29.
Use 9 as the next digit of our solution. 
Result so far: 20337.89743589
The remainder is 29 after subtracting 351 from 380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

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