6239940 ÷ 793 
We're looking to find how many times 793 goes into 6239940.

Advancing to step 1:
When dividing 6 by 793, we get 0 with a remainder of 6.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 6 to get 6.
Take the next digit (2) from the dividend and append it to 6, then repeat: 62 / 793

Step 2:
The number 793 fits into 62 0 times, leaving a remainder of 62.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 62 and we're left with 62.
Take the next digit (3) from the dividend and append it to 62, then repeat: 623 / 793

Step 3:
623 divided by 793 is 0 with a remainder of 623.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 623 and we're left with 623.
Bring next digit (9) of the dividend behind the 623 and repeat the process: 6239 / 793

Moving on to step 4:
The number 793 fits into 6239 7 times, leaving a remainder of 688.
Write down 7 as next digit of the result. 
Result so far: 7.0
Subtracting 5551 from 6239 leaves us with 688.
Bring next digit (9) of the dividend behind the 688 and repeat the process: 6889 / 793

Step 5:
When dividing 6889 by 793, we get 8 with a remainder of 545.
Write down 8 as next digit of the result. 
Result so far: 78.0
Subtracting 6344 from 6889 leaves us with 545.
Include the next digit (4) from the dividend after 545, then repeat: 5454 / 793

Advancing to step 6:
793 goes into 5454 6 times with a remainder of 696.
Record the quotient 6 as the next digit in the result. 
Result so far: 786.0
The remainder is 696 after subtracting 4758 from 5454.
Include the next digit (0) from the dividend after 696, then repeat: 6960 / 793

Going ahead to step 7:
The number 793 fits into 6960 8 times, leaving a remainder of 616.
Write down 8 as next digit of the result. 
Result so far: 7868.0
If we take 6344 away from 6960, we end up with 616.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6160, and continue the process.

Moving on to step 8:
The number 793 fits into 6160 7 times, leaving a remainder of 609.
Record the quotient 7 as the next digit in the result. 
Result so far: 7868.7
If we take 5551 away from 6160, we end up with 609.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6090, and continue the process.

Going ahead to step 9:
When dividing 6090 by 793, we get 7 with a remainder of 539.
The number 7 becomes the next digit in our result. 
Result so far: 7868.77
The remainder is 539 after subtracting 5551 from 6090.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5390, and continue the process.

In conclusion, the division gives 7868.77 with a balance of 0.539.