VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Convert from fractions to decimal and back

John Tunmire  (1 Submission)   Math/Dates   Visual Basic 3.0   Advanced   Wed 3rd February 2021

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.

Rate Convert from fractions to decimal and back (3(3 Vote))

Download Convert from fractions to decimal and back

Convert from fractions to decimal and back Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters