Skip to content
#

fractions

Here are 44 public repositories matching this topic...

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

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, multiplication, division, equality, and inequality. CMake is used as build system and Google Test is used for Unit Testing. The code build coverage is done using Travis and Coveralls.

  • Updated Jun 12, 2019
  • C++

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

You can’t perform that action at this time.