The simplest form of any rational number can be represented as a terminating decimal if the denominator has factors
2 or 5 or both
If pq is a rational number in simplest form, then the denominator, q must have prime factors in the form of 2n5m for it to have terminating decimal expansion.