We're dividing 5865660 by 797 
We're looking to find how many times 797 goes into 5865660.

Let's proceed to step 1:
When dividing 5 by 797, we get 0 with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Fetch the next digit (8) from the dividend, attach it to 5 and continue: 58 / 797

On to step 2:
If we divide 58 by 797, we get 0 and a remainder of 58.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 58 to get 58.
Grab the next digit (6) from the dividend, add it to 58, then carry on: 586 / 797

Going ahead to step 3:
797 can be fit into 586 0 times, resulting in a remainder of 586.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 586 leaves us with 586.
Include the next digit (5) from the dividend after 586, then repeat: 5865 / 797

Step 4:
If we divide 5865 by 797, we get 7 and a remainder of 286.
Use 7 as the next digit of our solution. 
Result so far: 7.0
Subtracting 5579 from 5865 leaves us with 286.
Take the next digit (6) from the dividend and append it to 286, then repeat: 2866 / 797

Moving on to step 5:
If we divide 2866 by 797, we get 3 and a remainder of 475.
Record the quotient 3 as the next digit in the result. 
Result so far: 73.0
The remainder is 475 after subtracting 2391 from 2866.
Include the next digit (6) from the dividend after 475, then repeat: 4756 / 797

On to step 6:
The number 797 fits into 4756 5 times, leaving a remainder of 771.
The next digit of our result is 5. 
Result so far: 735.0
If we subtract 3985 from 4756, we get 771.
Fetch the next digit (0) from the dividend, attach it to 771 and continue: 7710 / 797

Moving on to step 7:
797 goes into 7710 9 times with a remainder of 537.
The number 9 becomes the next digit in our result. 
Result so far: 7359.0
The remainder is 537 after subtracting 7173 from 7710.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5370, and continue the process.

On to step 8:
797 can be fit into 5370 6 times, resulting in a remainder of 588.
Use 6 as the next digit of our solution. 
Result so far: 7359.6
Deduct 4782 from 5370 and we're left with 588.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5880, and continue the process.

On to step 9:
797 can be fit into 5880 7 times, resulting in a remainder of 301.
The next digit of our result is 7. 
Result so far: 7359.67
Subtract 5579 from 5880 to 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.

Going ahead to step 10:
797 can be fit into 3010 3 times, resulting in a remainder of 619.
Put 3 as the next digit of the answer. 
Result so far: 7359.673
Deduct 2391 from 3010 and we're left with 619.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6190, and continue the process.

Advancing to step 11:
797 goes into 6190 7 times with a remainder of 611.
Use 7 as the next digit of our solution. 
Result so far: 7359.6737
If we subtract 5579 from 6190, we get 611.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6110, and continue the process.

Going ahead to step 12:
797 can be fit into 6110 7 times, resulting in a remainder of 531.
The number 7 becomes the next digit in our result. 
Result so far: 7359.67377
Deduct 5579 from 6110 and we're left with 531.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5310, and continue the process.

The final result is 7359.67377 with a remainder of 0.000531.