We look at the division of 507795 by 99 
Our goal is to divide 507795 by 99.

Let's proceed to step 1:
5 divided by 99 is 0 with a remainder of 5.
The number 0 becomes the next digit in our 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

Let's proceed 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
The remainder is 50 after subtracting 0 from 50.
Append the next digit (7) from the dividend to 50 and continue with: 507 / 99

Let's proceed to step 3:
507 divided by 99 is 5 with a remainder of 12.
Put 5 as the next digit of the answer. 
Result so far: 5.0
The remainder is 12 after subtracting 495 from 507.
Take the next digit (7) from the dividend and append it to 12, then repeat: 127 / 99

On to step 4:
When dividing 127 by 99, we get 1 with a remainder of 28.
Record the quotient 1 as the next digit in the result. 
Result so far: 51.0
If we take 99 away from 127, we end up with 28.
Include the next digit (9) from the dividend after 28, then repeat: 289 / 99

Let's proceed to step 5:
99 can be fit into 289 2 times, resulting in a remainder of 91.
Record the quotient 2 as the next digit in the result. 
Result so far: 512.0
The remainder is 91 after subtracting 198 from 289.
Fetch the next digit (5) from the dividend, attach it to 91 and continue: 915 / 99

On to step 6:
99 goes into 915 9 times with a remainder of 24.
Write down 9 as next digit of the result. 
Result so far: 5129.0
Subtracting 891 from 915 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 7:
99 goes into 240 2 times with a remainder of 42.
Record the quotient 2 as the next digit in the result. 
Result so far: 5129.2
The remainder is 42 after subtracting 198 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Advancing to step 8:
When dividing 420 by 99, we get 4 with a remainder of 24.
Use 4 as the next digit of our solution. 
Result so far: 5129.24
If we subtract 396 from 420, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 9:
If we divide 240 by 99, we get 2 and a remainder of 42.
Write down 2 as next digit of the result. 
Result so far: 5129.242
If we take 198 away from 240, we end up with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Advancing to step 10:
When dividing 420 by 99, we get 4 with a remainder of 24.
Write down 4 as next digit of the result. 
Result so far: 5129.2424
The remainder is 24 after subtracting 396 from 420.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Let's proceed to step 11:
If we divide 240 by 99, we get 2 and a remainder of 42.
Write down 2 as next digit of the result. 
Result so far: 5129.24242
The remainder is 42 after subtracting 198 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Advancing to step 12:
The number 99 fits into 420 4 times, leaving a remainder of 24.
Write down 4 as next digit of the result. 
Result so far: 5129.242424
Subtract 396 from 420 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

On to step 13:
If we divide 240 by 99, we get 2 and a remainder of 42.
The next digit of our result is 2. 
Result so far: 5129.2424242
The remainder is 42 after subtracting 198 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Step 14:
420 divided by 99 is 4 with a remainder of 24.
Put 4 as the next digit of the answer. 
Result so far: 5129.24242424
Deduct 396 from 420 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

The final outcome is 5129.24242424, with a leftover of 2.4e-08.