516317 ÷ 566 
Our goal is to divide 516317 by 566.

Advancing to step 1:
The number 566 fits into 5 0 times, leaving a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Include the next digit (1) from the dividend after 5, then repeat: 51 / 566

Advancing to step 2:
If we divide 51 by 566, we get 0 and a remainder of 51.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 51, we get 51.
Grab the next digit (6) from the dividend, add it to 51, then carry on: 516 / 566

On to step 3:
The number 566 fits into 516 0 times, leaving a remainder of 516.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 516 leaves us with 516.
Fetch the next digit (3) from the dividend, attach it to 516 and continue: 5163 / 566

On to step 4:
The number 566 fits into 5163 9 times, leaving a remainder of 69.
Write down 9 as next digit of the result. 
Result so far: 9.0
Subtracting 5094 from 5163 leaves us with 69.
Include the next digit (1) from the dividend after 69, then repeat: 691 / 566

Moving on to step 5:
566 goes into 691 1 times with a remainder of 125.
The next digit of our result is 1. 
Result so far: 91.0
If we take 566 away from 691, we end up with 125.
Fetch the next digit (7) from the dividend, attach it to 125 and continue: 1257 / 566

Step 6:
566 goes into 1257 2 times with a remainder of 125.
The number 2 becomes the next digit in our result. 
Result so far: 912.0
If we subtract 1132 from 1257, we get 125.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1250, and continue the process.

Let's proceed to step 7:
566 goes into 1250 2 times with a remainder of 118.
Record the quotient 2 as the next digit in the result. 
Result so far: 912.2
If we subtract 1132 from 1250, we get 118.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1180, and continue the process.

Going ahead to step 8:
1180 divided by 566 is 2 with a remainder of 48.
Put 2 as the next digit of the answer. 
Result so far: 912.22
The remainder is 48 after subtracting 1132 from 1180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

The final outcome is 912.22, with a leftover of 0.048.