We look at the division of 507058 by 99 
We're looking to find how many times 99 goes into 507058.

Advancing to step 1:
5 divided by 99 is 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 99

Advancing to step 2:
99 can be fit into 50 0 times, resulting in a remainder of 50.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 50 to get 50.
Include the next digit (7) from the dividend after 50, then repeat: 507 / 99

On to step 3:
507 divided by 99 is 5 with a remainder of 12.
The next digit of our result is 5. 
Result so far: 5.0
If we subtract 495 from 507, we get 12.
Take the next digit (0) from the dividend and append it to 12, then repeat: 120 / 99

Let's proceed to step 4:
99 can be fit into 120 1 times, resulting in a remainder of 21.
Record the quotient 1 as the next digit in the result. 
Result so far: 51.0
If we take 99 away from 120, we end up with 21.
Include the next digit (5) from the dividend after 21, then repeat: 215 / 99

Let's proceed to step 5:
The number 99 fits into 215 2 times, leaving a remainder of 17.
Write down 2 as next digit of the result. 
Result so far: 512.0
If we take 198 away from 215, we end up with 17.
Include the next digit (8) from the dividend after 17, then repeat: 178 / 99

Advancing to step 6:
If we divide 178 by 99, we get 1 and a remainder of 79.
The next digit of our result is 1. 
Result so far: 5121.0
If we take 99 away from 178, we end up with 79.
Since there are no more digits in the dividend, we add a zero to the remainder making it 790, and continue the process.

Moving on to step 7:
99 goes into 790 7 times with a remainder of 97.
Use 7 as the next digit of our solution. 
Result so far: 5121.7
If we subtract 693 from 790, we get 97.
Since there are no more digits in the dividend, we add a zero to the remainder making it 970, and continue the process.

Advancing to step 8:
99 goes into 970 9 times with a remainder of 79.
Use 9 as the next digit of our solution. 
Result so far: 5121.79
Subtracting 891 from 970 leaves us with 79.
Since there are no more digits in the dividend, we add a zero to the remainder making it 790, and continue the process.

On to step 9:
99 goes into 790 7 times with a remainder of 97.
Write down 7 as next digit of the result. 
Result so far: 5121.797
Deduct 693 from 790 and we're left with 97.
Since there are no more digits in the dividend, we add a zero to the remainder making it 970, and continue the process.

Going ahead to step 10:
If we divide 970 by 99, we get 9 and a remainder of 79.
Write down 9 as next digit of the result. 
Result so far: 5121.7979
Subtracting 891 from 970 leaves us with 79.
Since there are no more digits in the dividend, we add a zero to the remainder making it 790, and continue the process.

Let's proceed to step 11:
When dividing 790 by 99, we get 7 with a remainder of 97.
Record the quotient 7 as the next digit in the result. 
Result so far: 5121.79797
Deduct 693 from 790 and we're left with 97.
Since there are no more digits in the dividend, we add a zero to the remainder making it 970, and continue the process.

Advancing to step 12:
970 divided by 99 is 9 with a remainder of 79.
The number 9 becomes the next digit in our result. 
Result so far: 5121.797979
Deduct 891 from 970 and we're left with 79.
Since there are no more digits in the dividend, we add a zero to the remainder making it 790, and continue the process.

Step 13:
The number 99 fits into 790 7 times, leaving a remainder of 97.
The next digit of our result is 7. 
Result so far: 5121.7979797
Deduct 693 from 790 and we're left with 97.
Since there are no more digits in the dividend, we add a zero to the remainder making it 970, and continue the process.

Let's proceed to step 14:
970 divided by 99 is 9 with a remainder of 79.
The number 9 becomes the next digit in our result. 
Result so far: 5121.79797979
The remainder is 79 after subtracting 891 from 970.
Since there are no more digits in the dividend, we add a zero to the remainder making it 790, and continue the process.

The final outcome is 5121.79797979, with a leftover of 7.9e-08.