Let's divide 399980 by 18
The aim is to understand the frequency of 18 in 399980.

Going ahead to step 1:
18 can be fit into 3 0 times, resulting in a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Append the next digit (9) from the dividend to 3 and continue with: 39 / 18

Moving on to step 2:
The number 18 fits into 39 2 times, leaving a remainder of 3.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we subtract 36 from 39, we get 3.
Bring next digit (9) of the dividend behind the 3 and repeat the process: 39 / 18

Step 3:
18 can be fit into 39 2 times, resulting in a remainder of 3.
Use 2 as the next digit of our solution. 
Result so far: 22.0
Subtract 36 from 39 to get 3.
Append the next digit (9) from the dividend to 3 and continue with: 39 / 18

Let's proceed to step 4:
39 divided by 18 is 2 with a remainder of 3.
Write down 2 as next digit of the result. 
Result so far: 222.0
If we take 36 away from 39, we end up with 3.
Fetch the next digit (8) from the dividend, attach it to 3 and continue: 38 / 18

Advancing to step 5:
When dividing 38 by 18, we get 2 with a remainder of 2.
Record the quotient 2 as the next digit in the result. 
Result so far: 2222.0
Deduct 36 from 38 and we're left with 2.
Take the next digit (0) from the dividend and append it to 2, then repeat: 20 / 18

On to step 6:
18 goes into 20 1 times with a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 22221.0
Deduct 18 from 20 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 7:
18 goes into 20 1 times with a remainder of 2.
The number 1 becomes the next digit in our result. 
Result so far: 22221.1
If we take 18 away from 20, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 8:
18 can be fit into 20 1 times, resulting in a remainder of 2.
The next digit of our result is 1. 
Result so far: 22221.11
The remainder is 2 after subtracting 18 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

In conclusion, the division gives 22221.11 with a balance of 0.002.