Every decimal - and every decimal-like notation - hides an exact fraction. 0.75 is 3/4; 0.333... is exactly 1/3; 0.(142857) is exactly 1/7. Terminating decimals become fractions over powers of ten; repeating ones need a small algebraic trick. Either way the fraction is unique and the conversion is exact.
Convert a Decimal to a Fraction takes any decimal, including repeating forms, and returns the exact reduced fraction p/q with the working shown. Batch up to 1000 decimals per run, all exact, all reduced.