We divide 487999 by 18
The aim is to understand the frequency of 18 in 487999.

On to step 1:
18 goes into 4 0 times with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Append the next digit (8) from the dividend to 4 and continue with: 48 / 18

Going ahead to step 2:
18 goes into 48 2 times with a remainder of 12.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
The remainder is 12 after subtracting 36 from 48.
Grab the next digit (7) from the dividend, add it to 12, then carry on: 127 / 18

Moving on to step 3:
If we divide 127 by 18, we get 7 and a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 27.0
Subtracting 126 from 127 leaves us with 1.
Grab the next digit (9) from the dividend, add it to 1, then carry on: 19 / 18

Let's proceed to step 4:
The number 18 fits into 19 1 times, leaving a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 271.0
Deduct 18 from 19 and we're left with 1.
Fetch the next digit (9) from the dividend, attach it to 1 and continue: 19 / 18

Advancing to step 5:
18 goes into 19 1 times with a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 2711.0
If we subtract 18 from 19, we get 1.
Append the next digit (9) from the dividend to 1 and continue with: 19 / 18

Let's proceed to step 6:
18 goes into 19 1 times with a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 27111.0
Subtracting 18 from 19 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 7:
The number 18 fits into 10 0 times, leaving a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 27111.0
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 8:
18 can be fit into 100 5 times, resulting in a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 27111.05
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.

Going ahead to step 9:
When dividing 100 by 18, we get 5 with a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 27111.055
If we take 90 away from 100, we end up 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.

The final outcome is 27111.055, with a leftover of 0.001.