Rule: qp (in lowest form) terminates iff prime factors of q are only 2s and/or 5s.
207:20=22×5→only 2 and 5→Terminating.
Verify: 207=10035=0.35
154:15=3×5→contains 3→Repeating.
Verify:154=0.2666...=0.26
25013:250=2×53→only 2 and 5→Terminating.
Verify: 25013=100052=0.052