How to use? Try put 3.1415926535 into "x" and press "search".

x =
max denominator =
Fraction must be (below above below or above) x.

Result:
p/q p/q (decimal) err = p/q - x p - xq