I've got struck by curiosity: Are there axioms or theorems about the decimal termination of numbers? For example:
$$\frac{1}{3}=0.3333333333333333\ldots$$
And
$$\frac{1}{78}=0.01282051282051282\ldots$$
The only thing I've heard was that real numbers have non-repeating infinite decimal terminations and rational numbers have finite decimal terminations or infinite repeating decimal terminations. Is there a mathematics field of study that concers with properties in the decimal terminations?
A rational number will terminate if the only prime factors of the denominator (when it is in lowest terms) are $2$ and/or $5$. In that case, you can multiply numerator and denominator by something to make the denominator $10^n$. Otherwise it will have an infinite repeat. You can take a terminating one and make it repeating by decrementing the last digit by $1$ and appending $999999\dots $ at the end.