by John Tunmire (1 Submission)
Category: Math/Dates
Compatability: Visual Basic 3.0
Difficulty: Advanced
Date Added: Wed 3rd February 2021
Rating: (3 Votes)
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
Code Returns
Returns either a fraction or decimal depending on the users choice.