
This code will convert a Fraction to a decimal, and also convert a decimal to the lowest common denominator. It has now been updated to handle repeating decimals.
Inputs
A string consisting of a fraction or decdimal
Assumes
Nothing
Returns
Returns either a fraction or decimal depending on the users choice.