lamansky/fraction (packagist): A class that represents a fraction. Supports conversion to/from floats, mathematical operations, negative fractions, and Unicode stringification.
Keywords: math|numbers|floats|fractions