the integer number, needed for values greater than 1
If simplify is true, then the fraction is simplified to make both the numerator and denominator coprime, and less than maximumAllowedNumber.
Returns the unified numerator where the whole value will be expanded with the denominator and added to the existing numerator.
Brute Force quanization by searching incremental with the numerator until the denominator is smaller/equal than the desired one.
Subtracts a Fraction from this Fraction. Attention: This changes the already existing Fraction, which might be referenced elsewhere! Use Fraction.minus() for creating a new Fraction object being the difference of two Fractions.
the Fraction to subtract.
StaticcreateStaticEqualStaticmaxStaticminusStaticmultiplyStaticplus
A class representing mathematical fractions, which have a numerator and a denominator.