Skip to content
#

fractions

Here are 100 public repositories matching this topic...

This is a Fraction Class implementation in C++ 11/14 using template programming. The Fraction Class accepts user inputs for numerator and denominator and automatically simplifies the fraction using Euclid's GCD algorithm. The algorithm only holds for regular fractions with real numbers. The class has operator overloads for addition, subtraction,…

  • Updated Jun 12, 2019
  • C++

Converts strings representing rational numbers in decimal notation into fractions, including repeating decimals! Eg.: -4.3(7) = -4.37777777... = -197/45. [how to change rational numbers in decimal form to fraction form]

  • Updated Dec 19, 2019
  • Python

Improve this page

Add a description, image, and links to the fractions topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the fractions topic, visit your repo's landing page and select "manage topics."

Learn more