jandc/fraction

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

PHP Class representing a rational number as a fraction

dev-master 2018-07-30 09:31 UTC

This package is auto-updated.

Last update: 2021-11-20 15:26:54 UTC


README

PHP Class representing a rational number as a fraction (as opposed to a floating point value)

see also https://en.wikipedia.org/wiki/Floating_point#Accuracy_problems