We're dividing 985370 by 5 
The aim is to understand the frequency of 5 in 985370.

Step 1:
If we divide 9 by 5, we get 1 and a remainder of 4.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 5 away from 9, we end up with 4.
Grab the next digit (8) from the dividend, add it to 4, then carry on: 48 / 5

Let's proceed to step 2:
5 goes into 48 9 times with a remainder of 3.
Record the quotient 9 as the next digit in the result. 
Result so far: 19.0
If we subtract 45 from 48, we get 3.
Bring next digit (5) of the dividend behind the 3 and repeat the process: 35 / 5

Moving on to step 3:
35 divided by 5 is 7 with a remainder of 0.
The next digit of our result is 7. 
Result so far: 197.0
If we take 35 away from 35, we end up with 0.
Include the next digit (3) from the dividend after 0, then repeat: 3 / 5

Moving on to step 4:
5 goes into 3 0 times with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 1970.0
Subtract 0 from 3 to get 3.
Fetch the next digit (7) from the dividend, attach it to 3 and continue: 37 / 5

Let's proceed to step 5:
If we divide 37 by 5, we get 7 and a remainder of 2.
The next digit of our result is 7. 
Result so far: 19707.0
Subtract 35 from 37 to get 2.
Grab the next digit (0) from the dividend, add it to 2, then carry on: 20 / 5

On to step 6:
5 can be fit into 20 4 times, resulting in a remainder of 0.
Use 4 as the next digit of our solution. 
Result so far: 197074.0
The remainder is 0 after subtracting 20 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to step 7:
5 goes into 0 0 times with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 197074.0
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 8:
If we divide 0 by 5, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 197074.0
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 197074.0, and the remainder is 0.0.