# Convert from fractions to decimal and back

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.

About this post

**Posted:** 2002-06-01

**By:** ArchiveBot

**Viewed:** 95 times

Categories

Attachments

Convert_fr577852262002.zip

**Posted:** 9/3/2020 3:45:00 PM

**Size:** 3,314 bytes

Loading Comments ...

## Comments

No comments have been added for this post.

*You must be logged in to make a comment.*