Let's divide 566317 by 87
Let's see how many times 87 fits into 566317.

Advancing to step 1:
When dividing 5 by 87, we get 0 with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Take the next digit (6) from the dividend and append it to 5, then repeat: 56 / 87

Step 2:
The number 87 fits into 56 0 times, leaving a remainder of 56.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 56, we get 56.
Append the next digit (6) from the dividend to 56 and continue with: 566 / 87

Let's proceed to step 3:
The number 87 fits into 566 6 times, leaving a remainder of 44.
Use 6 as the next digit of our solution. 
Result so far: 6.0
If we take 522 away from 566, we end up with 44.
Include the next digit (3) from the dividend after 44, then repeat: 443 / 87

Step 4:
The number 87 fits into 443 5 times, leaving a remainder of 8.
Use 5 as the next digit of our solution. 
Result so far: 65.0
Subtracting 435 from 443 leaves us with 8.
Fetch the next digit (1) from the dividend, attach it to 8 and continue: 81 / 87

Going ahead to step 5:
87 goes into 81 0 times with a remainder of 81.
Put 0 as the next digit of the answer. 
Result so far: 650.0
Subtract 0 from 81 to get 81.
Grab the next digit (7) from the dividend, add it to 81, then carry on: 817 / 87

Moving on to step 6:
817 divided by 87 is 9 with a remainder of 34.
Use 9 as the next digit of our solution. 
Result so far: 6509.0
Subtract 783 from 817 to get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

On to step 7:
87 goes into 340 3 times with a remainder of 79.
Record the quotient 3 as the next digit in the result. 
Result so far: 6509.3
If we subtract 261 from 340, we 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.

Moving on to step 8:
The number 87 fits into 790 9 times, leaving a remainder of 7.
Write down 9 as next digit of the result. 
Result so far: 6509.39
If we take 783 away from 790, we end up with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

On to step 9:
The number 87 fits into 70 0 times, leaving a remainder of 70.
Use 0 as the next digit of our solution. 
Result so far: 6509.39
Deduct 0 from 70 and we're left with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

On to step 10:
87 can be fit into 700 8 times, resulting in a remainder of 4.
Use 8 as the next digit of our solution. 
Result so far: 6509.3908
Subtracting 696 from 700 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 11:
If we divide 40 by 87, we get 0 and a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 6509.3908
If we subtract 0 from 40, we get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Let's proceed to step 12:
When dividing 400 by 87, we get 4 with a remainder of 52.
The next digit of our result is 4. 
Result so far: 6509.390804
Subtract 348 from 400 to get 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Advancing to step 13:
If we divide 520 by 87, we get 5 and a remainder of 85.
Put 5 as the next digit of the answer. 
Result so far: 6509.3908045
Deduct 435 from 520 and we're left with 85.
Since there are no more digits in the dividend, we add a zero to the remainder making it 850, and continue the process.

Step 14:
If we divide 850 by 87, we get 9 and a remainder of 67.
Write down 9 as next digit of the result. 
Result so far: 6509.39080459
If we take 783 away from 850, we end up with 67.
Since there are no more digits in the dividend, we add a zero to the remainder making it 670, and continue the process.

After the division, we end up with 6509.39080459 and a remainder of 6.7e-08.