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

Going ahead to step 1:
99 goes into 5 0 times 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.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 99

Moving on to step 2:
When dividing 50 by 99, we get 0 with a remainder of 50.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 50 to get 50.
Take the next digit (2) from the dividend and append it to 50, then repeat: 502 / 99

On to step 3:
When dividing 502 by 99, we get 5 with a remainder of 7.
Use 5 as the next digit of our solution. 
Result so far: 5.0
If we subtract 495 from 502, we get 7.
Take the next digit (0) from the dividend and append it to 7, then repeat: 70 / 99

Advancing to step 4:
When dividing 70 by 99, we get 0 with a remainder of 70.
The number 0 becomes the next digit in our result. 
Result so far: 50.0
If we take 0 away from 70, we end up with 70.
Grab the next digit (2) from the dividend, add it to 70, then carry on: 702 / 99

Going ahead to step 5:
When dividing 702 by 99, we get 7 with a remainder of 9.
Put 7 as the next digit of the answer. 
Result so far: 507.0
Deduct 693 from 702 and we're left with 9.
Fetch the next digit (2) from the dividend, attach it to 9 and continue: 92 / 99

On to step 6:
99 goes into 92 0 times with a remainder of 92.
Use 0 as the next digit of our solution. 
Result so far: 5070.0
If we subtract 0 from 92, we get 92.
Since there are no more digits in the dividend, we add a zero to the remainder making it 920, and continue the process.

Going ahead to step 7:
If we divide 920 by 99, we get 9 and a remainder of 29.
The next digit of our result is 9. 
Result so far: 5070.9
If we subtract 891 from 920, we get 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Advancing to step 8:
99 goes into 290 2 times with a remainder of 92.
Record the quotient 2 as the next digit in the result. 
Result so far: 5070.92
Subtracting 198 from 290 leaves us with 92.
Since there are no more digits in the dividend, we add a zero to the remainder making it 920, and continue the process.

Going ahead to step 9:
If we divide 920 by 99, we get 9 and a remainder of 29.
Put 9 as the next digit of the answer. 
Result so far: 5070.929
The remainder is 29 after subtracting 891 from 920.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

On to step 10:
The number 99 fits into 290 2 times, leaving a remainder of 92.
Record the quotient 2 as the next digit in the result. 
Result so far: 5070.9292
If we take 198 away from 290, we end up with 92.
Since there are no more digits in the dividend, we add a zero to the remainder making it 920, and continue the process.

On to step 11:
When dividing 920 by 99, we get 9 with a remainder of 29.
Use 9 as the next digit of our solution. 
Result so far: 5070.92929
Subtracting 891 from 920 leaves us with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Step 12:
290 divided by 99 is 2 with a remainder of 92.
Put 2 as the next digit of the answer. 
Result so far: 5070.929292
Subtracting 198 from 290 leaves us with 92.
Since there are no more digits in the dividend, we add a zero to the remainder making it 920, and continue the process.

Advancing to step 13:
920 divided by 99 is 9 with a remainder of 29.
Record the quotient 9 as the next digit in the result. 
Result so far: 5070.9292929
Subtracting 891 from 920 leaves us with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Let's proceed to step 14:
The number 99 fits into 290 2 times, leaving a remainder of 92.
The next digit of our result is 2. 
Result so far: 5070.92929292
Deduct 198 from 290 and we're left with 92.
Since there are no more digits in the dividend, we add a zero to the remainder making it 920, and continue the process.

The final outcome is 5070.92929292, with a leftover of 9.2e-08.