We're dividing 798422 by 9 
The aim is to understand the frequency of 9 in 798422.

Step 1:
If we divide 7 by 9, we get 0 and a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 7, we end up with 7.
Take the next digit (9) from the dividend and append it to 7, then repeat: 79 / 9

Going ahead to step 2:
If we divide 79 by 9, we get 8 and a remainder of 7.
Use 8 as the next digit of our solution. 
Result so far: 8.0
Deduct 72 from 79 and we're left with 7.
Append the next digit (8) from the dividend to 7 and continue with: 78 / 9

Let's proceed to step 3:
9 goes into 78 8 times with a remainder of 6.
Use 8 as the next digit of our solution. 
Result so far: 88.0
Deduct 72 from 78 and we're left with 6.
Append the next digit (4) from the dividend to 6 and continue with: 64 / 9

Moving on to step 4:
When dividing 64 by 9, we get 7 with a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 887.0
Subtract 63 from 64 to get 1.
Take the next digit (2) from the dividend and append it to 1, then repeat: 12 / 9

On to step 5:
The number 9 fits into 12 1 times, leaving a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 8871.0
Deduct 9 from 12 and we're left with 3.
Grab the next digit (2) from the dividend, add it to 3, then carry on: 32 / 9

Advancing to step 6:
9 goes into 32 3 times with a remainder of 5.
The next digit of our result is 3. 
Result so far: 88713.0
Subtract 27 from 32 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.
The next digit of our result is 5. 
Result so far: 88713.5
The remainder is 5 after subtracting 45 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 8:
If we divide 50 by 9, we get 5 and a remainder of 5.
The next digit of our result is 5. 
Result so far: 88713.55
Deduct 45 from 50 and we're left 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.

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