Can you guess what property q must satisfy?

Look at several examples of rational numbers in the form p/q (q≠ 0). Where p and q are integers with no common factors other than 1 and having terminating decimal representations (expansions). Can you guess what property q must satisfy?