Let's divide 6799040 by 313
We're looking to find how many times 313 goes into 6799040.

Moving on to step 1:
When dividing 6 by 313, 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.
Grab the next digit (7) from the dividend, add it to 6, then carry on: 67 / 313

Let's proceed to step 2:
67 divided by 313 is 0 with a remainder of 67.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 67 after subtracting 0 from 67.
Take the next digit (9) from the dividend and append it to 67, then repeat: 679 / 313

Let's proceed to step 3:
When dividing 679 by 313, we get 2 with a remainder of 53.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we take 626 away from 679, we end up with 53.
Include the next digit (9) from the dividend after 53, then repeat: 539 / 313

Let's proceed to step 4:
If we divide 539 by 313, we get 1 and a remainder of 226.
Use 1 as the next digit of our solution. 
Result so far: 21.0
The remainder is 226 after subtracting 313 from 539.
Grab the next digit (0) from the dividend, add it to 226, then carry on: 2260 / 313

Step 5:
313 can be fit into 2260 7 times, resulting in a remainder of 69.
Write down 7 as next digit of the result. 
Result so far: 217.0
The remainder is 69 after subtracting 2191 from 2260.
Bring next digit (4) of the dividend behind the 69 and repeat the process: 694 / 313

Advancing to step 6:
313 goes into 694 2 times with a remainder of 68.
The next digit of our result is 2. 
Result so far: 2172.0
Deduct 626 from 694 and we're left with 68.
Bring next digit (0) of the dividend behind the 68 and repeat the process: 680 / 313

Advancing to step 7:
When dividing 680 by 313, we get 2 with a remainder of 54.
Record the quotient 2 as the next digit in the result. 
Result so far: 21722.0
If we subtract 626 from 680, we get 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Advancing to step 8:
313 goes into 540 1 times with a remainder of 227.
Write down 1 as next digit of the result. 
Result so far: 21722.1
If we take 313 away from 540, we end up with 227.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2270, and continue the process.

Advancing to step 9:
313 can be fit into 2270 7 times, resulting in a remainder of 79.
The next digit of our result is 7. 
Result so far: 21722.17
Subtract 2191 from 2270 to get 79.
Since there are no more digits in the dividend, we add a zero to the remainder making it 790, and continue the process.

Going ahead to step 10:
When dividing 790 by 313, we get 2 with a remainder of 164.
Use 2 as the next digit of our solution. 
Result so far: 21722.172
The remainder is 164 after subtracting 626 from 790.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1640, and continue the process.

On to step 11:
If we divide 1640 by 313, we get 5 and a remainder of 75.
Record the quotient 5 as the next digit in the result. 
Result so far: 21722.1725
Deduct 1565 from 1640 and we're left with 75.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

Step 12:
313 goes into 750 2 times with a remainder of 124.
Put 2 as the next digit of the answer. 
Result so far: 21722.17252
If we take 626 away from 750, we end up with 124.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1240, and continue the process.

Going ahead to step 13:
313 goes into 1240 3 times with a remainder of 301.
Use 3 as the next digit of our solution. 
Result so far: 21722.172523
If we subtract 939 from 1240, we get 301.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3010, and continue the process.

Moving on to step 14:
313 can be fit into 3010 9 times, resulting in a remainder of 193.
The next digit of our result is 9. 
Result so far: 21722.1725239
If we take 2817 away from 3010, we end up with 193.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1930, and continue the process.

Let's proceed to step 15:
313 can be fit into 1930 6 times, resulting in a remainder of 52.
The number 6 becomes the next digit in our result. 
Result so far: 21722.17252396
Deduct 1878 from 1930 and we're left with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

The final result is 21722.17252396 with a remainder of 5.2e-08.