Let's divide 509506 by 99
We want to divide 509506 by 99.

Step 1:
When dividing 5 by 99, we get 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 99

Advancing to step 2:
99 goes into 50 0 times with a remainder of 50.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 50 leaves us with 50.
Take the next digit (9) from the dividend and append it to 50, then repeat: 509 / 99

Step 3:
When dividing 509 by 99, we get 5 with a remainder of 14.
Put 5 as the next digit of the answer. 
Result so far: 5.0
Subtracting 495 from 509 leaves us with 14.
Take the next digit (5) from the dividend and append it to 14, then repeat: 145 / 99

Let's proceed to step 4:
The number 99 fits into 145 1 times, leaving a remainder of 46.
Use 1 as the next digit of our solution. 
Result so far: 51.0
If we subtract 99 from 145, we get 46.
Include the next digit (0) from the dividend after 46, then repeat: 460 / 99

Moving on to step 5:
460 divided by 99 is 4 with a remainder of 64.
The next digit of our result is 4. 
Result so far: 514.0
Deduct 396 from 460 and we're left with 64.
Bring next digit (6) of the dividend behind the 64 and repeat the process: 646 / 99

On to step 6:
99 can be fit into 646 6 times, resulting in a remainder of 52.
Use 6 as the next digit of our solution. 
Result so far: 5146.0
Subtracting 594 from 646 leaves us 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.

Step 7:
99 goes into 520 5 times with a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 5146.5
If we subtract 495 from 520, we get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Let's proceed to step 8:
When dividing 250 by 99, we get 2 with a remainder of 52.
Write down 2 as next digit of the result. 
Result so far: 5146.52
Subtract 198 from 250 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.

Let's proceed to step 9:
The number 99 fits into 520 5 times, leaving a remainder of 25.
The next digit of our result is 5. 
Result so far: 5146.525
If we take 495 away from 520, we end up with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Let's proceed to step 10:
When dividing 250 by 99, we get 2 with a remainder of 52.
Write down 2 as next digit of the result. 
Result so far: 5146.5252
Subtract 198 from 250 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.

Going ahead to step 11:
99 goes into 520 5 times with a remainder of 25.
Put 5 as the next digit of the answer. 
Result so far: 5146.52525
If we take 495 away from 520, we end up with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Going ahead to step 12:
The number 99 fits into 250 2 times, leaving a remainder of 52.
Put 2 as the next digit of the answer. 
Result so far: 5146.525252
Subtracting 198 from 250 leaves us 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.

Let's proceed to step 13:
If we divide 520 by 99, we get 5 and a remainder of 25.
Put 5 as the next digit of the answer. 
Result so far: 5146.5252525
If we take 495 away from 520, we end up with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Moving on to step 14:
The number 99 fits into 250 2 times, leaving a remainder of 52.
Use 2 as the next digit of our solution. 
Result so far: 5146.52525252
If we take 198 away from 250, we end up 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.

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