987376 ÷ 12 
The aim is to understand the frequency of 12 in 987376.

Step 1:
When dividing 9 by 12, we get 0 with a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 9 leaves us with 9.
Take the next digit (8) from the dividend and append it to 9, then repeat: 98 / 12

Let's proceed to step 2:
98 divided by 12 is 8 with a remainder of 2.
Use 8 as the next digit of our solution. 
Result so far: 8.0
If we take 96 away from 98, we end up with 2.
Fetch the next digit (7) from the dividend, attach it to 2 and continue: 27 / 12

Advancing to step 3:
12 can be fit into 27 2 times, resulting in a remainder of 3.
The next digit of our result is 2. 
Result so far: 82.0
If we take 24 away from 27, we end up with 3.
Append the next digit (3) from the dividend to 3 and continue with: 33 / 12

Step 4:
12 goes into 33 2 times with a remainder of 9.
Put 2 as the next digit of the answer. 
Result so far: 822.0
If we subtract 24 from 33, we get 9.
Append the next digit (7) from the dividend to 9 and continue with: 97 / 12

Let's proceed to step 5:
97 divided by 12 is 8 with a remainder of 1.
Write down 8 as next digit of the result. 
Result so far: 8228.0
Subtracting 96 from 97 leaves us with 1.
Take the next digit (6) from the dividend and append it to 1, then repeat: 16 / 12

Let's proceed to step 6:
If we divide 16 by 12, we get 1 and a remainder of 4.
Write down 1 as next digit of the result. 
Result so far: 82281.0
Subtracting 12 from 16 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 7:
The number 12 fits into 40 3 times, leaving a remainder of 4.
Put 3 as the next digit of the answer. 
Result so far: 82281.3
Subtract 36 from 40 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 8:
The number 12 fits into 40 3 times, leaving a remainder of 4.
The number 3 becomes the next digit in our result. 
Result so far: 82281.33
If we subtract 36 from 40, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Our division results in 82281.33 with a remaining 0.004.