We're dividing 939772 by 18 
The aim is to understand the frequency of 18 in 939772.

On to step 1:
9 divided by 18 is 0 with a remainder of 9.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Bring next digit (3) of the dividend behind the 9 and repeat the process: 93 / 18

On to step 2:
18 goes into 93 5 times with a remainder of 3.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
If we take 90 away from 93, we end up with 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 18

On to step 3:
When dividing 39 by 18, we get 2 with a remainder of 3.
The number 2 becomes the next digit in our result. 
Result so far: 52.0
If we subtract 36 from 39, we get 3.
Append the next digit (7) from the dividend to 3 and continue with: 37 / 18

Let's proceed to step 4:
37 divided by 18 is 2 with a remainder of 1.
Use 2 as the next digit of our solution. 
Result so far: 522.0
The remainder is 1 after subtracting 36 from 37.
Fetch the next digit (7) from the dividend, attach it to 1 and continue: 17 / 18

Going ahead to step 5:
When dividing 17 by 18, we get 0 with a remainder of 17.
The next digit of our result is 0. 
Result so far: 5220.0
If we take 0 away from 17, we end up with 17.
Include the next digit (2) from the dividend after 17, then repeat: 172 / 18

Moving on to step 6:
The number 18 fits into 172 9 times, leaving a remainder of 10.
The next digit of our result is 9. 
Result so far: 52209.0
If we subtract 162 from 172, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 7:
18 goes into 100 5 times with a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 52209.5
Deduct 90 from 100 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 8:
The number 18 fits into 100 5 times, leaving a remainder of 10.
Put 5 as the next digit of the answer. 
Result so far: 52209.55
The remainder is 10 after subtracting 90 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

After the division, we end up with 52209.55 and a remainder of 0.01.