Let's divide 796338 by 39
Our goal is to divide 796338 by 39.

Step 1:
If we divide 7 by 39, we get 0 and a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Fetch the next digit (9) from the dividend, attach it to 7 and continue: 79 / 39

Going ahead to step 2:
79 divided by 39 is 2 with a remainder of 1.
Write down 2 as next digit of the result. 
Result so far: 2.0
The remainder is 1 after subtracting 78 from 79.
Include the next digit (6) from the dividend after 1, then repeat: 16 / 39

Going ahead to step 3:
The number 39 fits into 16 0 times, leaving a remainder of 16.
Record the quotient 0 as the next digit in the result. 
Result so far: 20.0
Deduct 0 from 16 and we're left with 16.
Bring next digit (3) of the dividend behind the 16 and repeat the process: 163 / 39

Step 4:
39 goes into 163 4 times with a remainder of 7.
Record the quotient 4 as the next digit in the result. 
Result so far: 204.0
Subtract 156 from 163 to get 7.
Take the next digit (3) from the dividend and append it to 7, then repeat: 73 / 39

Let's proceed to step 5:
73 divided by 39 is 1 with a remainder of 34.
Put 1 as the next digit of the answer. 
Result so far: 2041.0
Deduct 39 from 73 and we're left with 34.
Grab the next digit (8) from the dividend, add it to 34, then carry on: 348 / 39

Going ahead to step 6:
39 goes into 348 8 times with a remainder of 36.
Record the quotient 8 as the next digit in the result. 
Result so far: 20418.0
Deduct 312 from 348 and we're left 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 7:
The number 39 fits into 360 9 times, leaving a remainder of 9.
Write down 9 as next digit of the result. 
Result so far: 20418.9
If we subtract 351 from 360, we get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Step 8:
39 goes into 90 2 times with a remainder of 12.
The number 2 becomes the next digit in our result. 
Result so far: 20418.92
If we take 78 away from 90, we end up 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.

On to step 9:
When dividing 120 by 39, we get 3 with a remainder of 3.
Record the quotient 3 as the next digit in the result. 
Result so far: 20418.923
Deduct 117 from 120 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 10:
39 can be fit into 30 0 times, resulting in a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 20418.923
If we subtract 0 from 30, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Advancing to step 11:
300 divided by 39 is 7 with a remainder of 27.
Put 7 as the next digit of the answer. 
Result so far: 20418.92307
Subtract 273 from 300 to get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Going ahead to step 12:
39 goes into 270 6 times with a remainder of 36.
The number 6 becomes the next digit in our result. 
Result so far: 20418.923076
Subtracting 234 from 270 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 13:
39 goes into 360 9 times with a remainder of 9.
The next digit of our result is 9. 
Result so far: 20418.9230769
If we take 351 away from 360, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

On to step 14:
The number 39 fits into 90 2 times, leaving a remainder of 12.
Write down 2 as next digit of the result. 
Result so far: 20418.92307692
Subtract 78 from 90 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Our division results in 20418.92307692 with a remaining 1.2e-08.