6540218 ÷ 793 
We want to figure out the number of times 6540218 can be divided by 793.

Advancing to step 1:
The number 793 fits into 6 0 times, leaving a remainder of 6.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 6, we end up with 6.
Fetch the next digit (5) from the dividend, attach it to 6 and continue: 65 / 793

Step 2:
The number 793 fits into 65 0 times, leaving a remainder of 65.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 65, we end up with 65.
Fetch the next digit (4) from the dividend, attach it to 65 and continue: 654 / 793

Let's proceed to step 3:
If we divide 654 by 793, we get 0 and a remainder of 654.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 654 to get 654.
Take the next digit (0) from the dividend and append it to 654, then repeat: 6540 / 793

Moving on to step 4:
6540 divided by 793 is 8 with a remainder of 196.
Record the quotient 8 as the next digit in the result. 
Result so far: 8.0
If we subtract 6344 from 6540, we get 196.
Fetch the next digit (2) from the dividend, attach it to 196 and continue: 1962 / 793

Going ahead to step 5:
793 can be fit into 1962 2 times, resulting in a remainder of 376.
Write down 2 as next digit of the result. 
Result so far: 82.0
Subtracting 1586 from 1962 leaves us with 376.
Grab the next digit (1) from the dividend, add it to 376, then carry on: 3761 / 793

Let's proceed to step 6:
When dividing 3761 by 793, we get 4 with a remainder of 589.
Use 4 as the next digit of our solution. 
Result so far: 824.0
If we subtract 3172 from 3761, we get 589.
Grab the next digit (8) from the dividend, add it to 589, then carry on: 5898 / 793

Step 7:
When dividing 5898 by 793, we get 7 with a remainder of 347.
Put 7 as the next digit of the answer. 
Result so far: 8247.0
If we subtract 5551 from 5898, we get 347.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3470, and continue the process.

Going ahead to step 8:
793 can be fit into 3470 4 times, resulting in a remainder of 298.
Write down 4 as next digit of the result. 
Result so far: 8247.4
Deduct 3172 from 3470 and we're left with 298.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2980, and continue the process.

Moving on to step 9:
The number 793 fits into 2980 3 times, leaving a remainder of 601.
Use 3 as the next digit of our solution. 
Result so far: 8247.43
Subtracting 2379 from 2980 leaves us with 601.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6010, and continue the process.

Let's proceed to step 10:
793 can be fit into 6010 7 times, resulting in a remainder of 459.
The number 7 becomes the next digit in our result. 
Result so far: 8247.437
The remainder is 459 after subtracting 5551 from 6010.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4590, and continue the process.

Advancing to step 11:
If we divide 4590 by 793, we get 5 and a remainder of 625.
The next digit of our result is 5. 
Result so far: 8247.4375
Deduct 3965 from 4590 and we're left with 625.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6250, and continue the process.

Moving on to step 12:
793 goes into 6250 7 times with a remainder of 699.
Record the quotient 7 as the next digit in the result. 
Result so far: 8247.43757
Subtracting 5551 from 6250 leaves us with 699.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6990, and continue the process.

Going ahead to step 13:
6990 divided by 793 is 8 with a remainder of 646.
Use 8 as the next digit of our solution. 
Result so far: 8247.437578
Subtracting 6344 from 6990 leaves us with 646.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6460, and continue the process.

On to step 14:
793 goes into 6460 8 times with a remainder of 116.
Put 8 as the next digit of the answer. 
Result so far: 8247.4375788
If we subtract 6344 from 6460, we get 116.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1160, and continue the process.

Our division results in 8247.4375788 with a remaining 1.16e-06.