Skip to content

A Python module to create and calculate with fractions.

Notifications You must be signed in to change notification settings

Dlurak/Fraction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Fraction

Fraction is a python module for fractions.

Installation

Move the main.py file into your pythonpath e.g. C:/Python39/Lib and rename it hoever you want to call it.

Functions and classes

There is the fraction class which you can define by: Fraction(numerator, denominator). You can convert the fraction to an string, intager and a float.
On the class there are these methods:

  • reduce: This methode has one optional parameter the value with

About

A Python module to create and calculate with fractions.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages