A rational number written as $\frac pq$ in lowest terms, has a finite binary representation if and only if $q$ is a power of $2$.
How this works out if your original number is a decimal fraction is:
If the decimal representation does not end, then neither does the binary one.
If the decimal representation does end, then take all the digits after the decimal point and check whether the number they make up is divisible by $5^n$, where $n$ is the number of digits. The binary representation is finite exactly if $5^n$ divides the digits.
For example $1416$ is not divisible by $5^4$, so $3.1416$ does not have a finite binary fraction representation.
On the other hand $123.625$ has a finite binary fraction because $625$ is divisible by $5^3=125$.
Oh, and by the way, the period of the binary representation of $3.1416$ is exactly $500$ bits long. (Found in the boring way by writing program to do the long division $1416\div10000$ in base $2$ and check when the remainder repeated).