Explanation:
When we factorise the denominator into prime factors and there are only numbers 2 and 5, the decimal is finite.
Otherwise the decimal is infinite repeating.
Examples:
We have
5.2m questions
6.8m answers