Let's divide 507174 by 99
We're looking to find how many times 99 goes into 507174.

Going ahead to step 1:
99 can be fit into 5 0 times, resulting in a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 99

Moving on to step 2:
If we divide 50 by 99, we get 0 and a remainder of 50.
Record the quotient 0 as the next digit in the result. 
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

Step 3:
The number 99 fits into 507 5 times, leaving a remainder of 12.
The next digit of our result is 5. 
Result so far: 5.0
Subtracting 495 from 507 leaves us with 12.
Take the next digit (1) from the dividend and append it to 12, then repeat: 121 / 99

Step 4:
99 goes into 121 1 times with a remainder of 22.
Put 1 as the next digit of the answer. 
Result so far: 51.0
Deduct 99 from 121 and we're left with 22.
Grab the next digit (7) from the dividend, add it to 22, then carry on: 227 / 99

Advancing to step 5:
227 divided by 99 is 2 with a remainder of 29.
Use 2 as the next digit of our solution. 
Result so far: 512.0
The remainder is 29 after subtracting 198 from 227.
Append the next digit (4) from the dividend to 29 and continue with: 294 / 99

Moving on to step 6:
When dividing 294 by 99, we get 2 with a remainder of 96.
Use 2 as the next digit of our solution. 
Result so far: 5122.0
Subtract 198 from 294 to get 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

Moving on to step 7:
960 divided by 99 is 9 with a remainder of 69.
Write down 9 as next digit of the result. 
Result so far: 5122.9
Subtracting 891 from 960 leaves us with 69.
Since there are no more digits in the dividend, we add a zero to the remainder making it 690, and continue the process.

Moving on to step 8:
If we divide 690 by 99, we get 6 and a remainder of 96.
Write down 6 as next digit of the result. 
Result so far: 5122.96
Subtract 594 from 690 to get 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

On to step 9:
99 goes into 960 9 times with a remainder of 69.
Put 9 as the next digit of the answer. 
Result so far: 5122.969
Subtract 891 from 960 to get 69.
Since there are no more digits in the dividend, we add a zero to the remainder making it 690, and continue the process.

On to step 10:
690 divided by 99 is 6 with a remainder of 96.
Use 6 as the next digit of our solution. 
Result so far: 5122.9696
Subtracting 594 from 690 leaves us with 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

Advancing to step 11:
960 divided by 99 is 9 with a remainder of 69.
Record the quotient 9 as the next digit in the result. 
Result so far: 5122.96969
If we take 891 away from 960, we end up with 69.
Since there are no more digits in the dividend, we add a zero to the remainder making it 690, and continue the process.

Step 12:
If we divide 690 by 99, we get 6 and a remainder of 96.
The number 6 becomes the next digit in our result. 
Result so far: 5122.969696
If we take 594 away from 690, we end up with 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

Going ahead to step 13:
When dividing 960 by 99, we get 9 with a remainder of 69.
The number 9 becomes the next digit in our result. 
Result so far: 5122.9696969
Subtract 891 from 960 to get 69.
Since there are no more digits in the dividend, we add a zero to the remainder making it 690, and continue the process.

Let's proceed to step 14:
99 can be fit into 690 6 times, resulting in a remainder of 96.
Record the quotient 6 as the next digit in the result. 
Result so far: 5122.96969696
Subtracting 594 from 690 leaves us with 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

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