Converting a Decimal into a Fraction in lowest terms

If that code is working, you can just divide both top and bottom by the GCF which is a built in function. Unit Circle1