Is it possible to write any decimal number, with a repeating decimal part, and be able to convert it into the form $\frac nd$ (where both $n$ and $d$ are natural numbers)?
I know rational numbers that are expressed in decimal notation will either terminate exactly (such as $1.25$, which is the value $\frac54$), or repeat forever (such as $0.333\cdots$, which is the value $\frac13$).
So if I just come up with any random repeating decimal, like $2.175175175\cdots$, does that mean there MUST be two natural numbers $n$ and $d$ that can represent this value as $\frac nd$?
I'm just trying to get a better feel for rational numbers and decimals.