We're dividing 50495 by 99 
Let's see how many times 99 fits into 50495.

Advancing to step 1:
99 can be fit into 5 0 times, resulting in a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 99

Going ahead to step 2:
99 goes into 50 0 times with a remainder of 50.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 50 and we're left with 50.
Fetch the next digit (4) from the dividend, attach it to 50 and continue: 504 / 99

Step 3:
504 divided by 99 is 5 with a remainder of 9.
Use 5 as the next digit of our solution. 
Result so far: 5.0
The remainder is 9 after subtracting 495 from 504.
Fetch the next digit (9) from the dividend, attach it to 9 and continue: 99 / 99

Let's proceed to step 4:
The number 99 fits into 99 1 times, leaving a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 51.0
If we subtract 99 from 99, we get 0.
Fetch the next digit (5) from the dividend, attach it to 0 and continue: 5 / 99

Advancing to step 5:
5 divided by 99 is 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 510.0
The remainder is 5 after subtracting 0 from 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 6:
The number 99 fits into 50 0 times, leaving a remainder of 50.
Write down 0 as next digit of the result. 
Result so far: 510.0
If we take 0 away from 50, we end up with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Going ahead to step 7:
When dividing 500 by 99, we get 5 with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 510.05
If we take 495 away from 500, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 8:
99 goes into 50 0 times with a remainder of 50.
Record the quotient 0 as the next digit in the result. 
Result so far: 510.05
Deduct 0 from 50 and we're left with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Moving on to step 9:
The number 99 fits into 500 5 times, leaving a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 510.0505
The remainder is 5 after subtracting 495 from 500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 10:
The number 99 fits into 50 0 times, leaving a remainder of 50.
The next digit of our result is 0. 
Result so far: 510.0505
Subtracting 0 from 50 leaves us with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Going ahead to step 11:
The number 99 fits into 500 5 times, leaving a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 510.050505
If we subtract 495 from 500, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 12:
If we divide 50 by 99, we get 0 and a remainder of 50.
Put 0 as the next digit of the answer. 
Result so far: 510.050505
If we subtract 0 from 50, we get 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Going ahead to step 13:
99 goes into 500 5 times with a remainder of 5.
Record the quotient 5 as the next digit in the result. 
Result so far: 510.05050505
The remainder is 5 after subtracting 495 from 500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

The final outcome is 510.05050505, with a leftover of 5e-09.