Search Tools Links Login

Convert from fractions to decimal and back

Posted: 2002-06-01
By: ArchiveBot
Viewed: 73

Filed Under:

Visual Basic 6

Title Uploaded Size
Convert_fr577852262002.zip 9/3/2020 3:45:00 PM 3,314

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.

Original Author: John Tunmire

Inputs

A string consisting of a fraction or decdimal

Assumptions

Nothing

Returns

Returns either a fraction or decimal depending on the users choice.


Comments on this post

No comments have been added for this post.

You must be logged in to make a comment.