jandc/fraction

PHP Class representing a rational number as a fraction

dev-master 2018-07-30 09:31 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