We look at the division of 512677 by 99 
We want to divide 512677 by 99.

Step 1:
When dividing 5 by 99, we get 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Append the next digit (1) from the dividend to 5 and continue with: 51 / 99

Moving on to step 2:
The number 99 fits into 51 0 times, leaving a remainder of 51.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 51, we get 51.
Bring next digit (2) of the dividend behind the 51 and repeat the process: 512 / 99

Advancing to step 3:
99 can be fit into 512 5 times, resulting in a remainder of 17.
Put 5 as the next digit of the answer. 
Result so far: 5.0
If we subtract 495 from 512, we get 17.
Append the next digit (6) from the dividend to 17 and continue with: 176 / 99

On to step 4:
If we divide 176 by 99, we get 1 and a remainder of 77.
Put 1 as the next digit of the answer. 
Result so far: 51.0
The remainder is 77 after subtracting 99 from 176.
Include the next digit (7) from the dividend after 77, then repeat: 777 / 99

Let's proceed to step 5:
The number 99 fits into 777 7 times, leaving a remainder of 84.
Put 7 as the next digit of the answer. 
Result so far: 517.0
If we subtract 693 from 777, we get 84.
Bring next digit (7) of the dividend behind the 84 and repeat the process: 847 / 99

Let's proceed to step 6:
The number 99 fits into 847 8 times, leaving a remainder of 55.
Record the quotient 8 as the next digit in the result. 
Result so far: 5178.0
The remainder is 55 after subtracting 792 from 847.
Since there are no more digits in the dividend, we add a zero to the remainder making it 550, and continue the process.

Step 7:
The number 99 fits into 550 5 times, leaving a remainder of 55.
Put 5 as the next digit of the answer. 
Result so far: 5178.5
The remainder is 55 after subtracting 495 from 550.
Since there are no more digits in the dividend, we add a zero to the remainder making it 550, and continue the process.

Let's proceed to step 8:
99 goes into 550 5 times with a remainder of 55.
Write down 5 as next digit of the result. 
Result so far: 5178.55
If we take 495 away from 550, we end up with 55.
Since there are no more digits in the dividend, we add a zero to the remainder making it 550, and continue the process.

The final outcome is 5178.55, with a leftover of 0.055.