Fracty
Fracty is a decimal-to-fraction conversion module that solves the many well known problems decimal-to-fraction conversion libraries have. Those common problems include conversion inaccuracies in the IEEE Standard for Float-Point Arithmetic (IEEE 754), mishandling numbers with trailing repeat patterns, and incorrect pattern recognition. Fracty simply takes one argument, a number without any rounding and, in keeping with the most standard numbering conventions of monetary divisibility, etc., imagines that any trailing repeating pattern beyond two decimal places continues infinitely, and returns that input as a string of the fully reduced fraction equivalent.