Skip to content

Latest commit

History

32 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

fractions -- Python 3.5+

Creates a fraction data type for use with Python 3.5+.

Installation Instructions:

Copy the 'fractions' file to the 'Lib' folder in your Python 3.5+ installation.

Import the module using

import fractions

fraction objects can be instantiated using

fractions.fraction(numerator, denominator)

fraction objects support all relevant arithmetic and comparison operators, as well as methods to simplify and convert between floating point numbers and fractional representations.

If you believe functionality is missing, or if you find an error, please submit an issue.

About

A basic implementation for working with fractions in Python 3.5+

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages