Let's divide 989393 by 9
The aim is to understand the frequency of 9 in 989393.

On to step 1:
If we divide 9 by 9, we get 1 and a remainder of 0.
The next digit of our result is 1. 
Result so far: 1.0
If we take 9 away from 9, we end up with 0.
Fetch the next digit (8) from the dividend, attach it to 0 and continue: 8 / 9

Going ahead to step 2:
9 can be fit into 8 0 times, resulting in a remainder of 8.
The next digit of our result is 0. 
Result so far: 10.0
The remainder is 8 after subtracting 0 from 8.
Fetch the next digit (9) from the dividend, attach it to 8 and continue: 89 / 9

On to step 3:
9 can be fit into 89 9 times, resulting in a remainder of 8.
Put 9 as the next digit of the answer. 
Result so far: 109.0
The remainder is 8 after subtracting 81 from 89.
Include the next digit (3) from the dividend after 8, then repeat: 83 / 9

Step 4:
9 goes into 83 9 times with a remainder of 2.
Record the quotient 9 as the next digit in the result. 
Result so far: 1099.0
If we subtract 81 from 83, we get 2.
Grab the next digit (9) from the dividend, add it to 2, then carry on: 29 / 9

Let's proceed to step 5:
29 divided by 9 is 3 with a remainder of 2.
Use 3 as the next digit of our solution. 
Result so far: 10993.0
If we subtract 27 from 29, we get 2.
Fetch the next digit (3) from the dividend, attach it to 2 and continue: 23 / 9

Step 6:
9 can be fit into 23 2 times, resulting in a remainder of 5.
The number 2 becomes the next digit in our result. 
Result so far: 109932.0
Subtract 18 from 23 to 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.

Step 7:
When dividing 50 by 9, we get 5 with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 109932.5
If we take 45 away from 50, 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:
9 goes into 50 5 times with a remainder of 5.
The next digit of our result is 5. 
Result so far: 109932.55
Subtract 45 from 50 to 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.

After the division, we end up with 109932.55 and a remainder of 0.005.