Let's divide 39799246 by 794
We want to figure out the number of times 39799246 can be divided by 794.

On to step 1:
794 goes into 3 0 times with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 794

Advancing to step 2:
794 can be fit into 39 0 times, resulting in a remainder of 39.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 39, we get 39.
Append the next digit (7) from the dividend to 39 and continue with: 397 / 794

On to step 3:
794 can be fit into 397 0 times, resulting in a remainder of 397.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 397 to get 397.
Grab the next digit (9) from the dividend, add it to 397, then carry on: 3979 / 794

Going ahead to step 4:
794 goes into 3979 5 times with a remainder of 9.
Write down 5 as next digit of the result. 
Result so far: 5.0
If we take 3970 away from 3979, we end up with 9.
Append the next digit (9) from the dividend to 9 and continue with: 99 / 794

Going ahead to step 5:
If we divide 99 by 794, we get 0 and a remainder of 99.
Use 0 as the next digit of our solution. 
Result so far: 50.0
If we take 0 away from 99, we end up with 99.
Grab the next digit (2) from the dividend, add it to 99, then carry on: 992 / 794

Let's proceed to step 6:
992 divided by 794 is 1 with a remainder of 198.
Use 1 as the next digit of our solution. 
Result so far: 501.0
If we take 794 away from 992, we end up with 198.
Take the next digit (4) from the dividend and append it to 198, then repeat: 1984 / 794

Step 7:
When dividing 1984 by 794, we get 2 with a remainder of 396.
The next digit of our result is 2. 
Result so far: 5012.0
Deduct 1588 from 1984 and we're left with 396.
Take the next digit (6) from the dividend and append it to 396, then repeat: 3966 / 794

Moving on to step 8:
794 can be fit into 3966 4 times, resulting in a remainder of 790.
The next digit of our result is 4. 
Result so far: 50124.0
If we take 3176 away from 3966, we end up with 790.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7900, and continue the process.

Moving on to step 9:
The number 794 fits into 7900 9 times, leaving a remainder of 754.
The next digit of our result is 9. 
Result so far: 50124.9
Subtract 7146 from 7900 to get 754.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7540, and continue the process.

Step 10:
When dividing 7540 by 794, we get 9 with a remainder of 394.
The number 9 becomes the next digit in our result. 
Result so far: 50124.99
The remainder is 394 after subtracting 7146 from 7540.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3940, and continue the process.

The final outcome is 50124.99, with a leftover of 0.394.