Set the numerator and denominator.
Return a new copy with current values.
Simplify both sides and check if they are equal.
Greater than operator.
Greater than or equals operator.
Less than operator.
Less than or equals operator.
Calculate absolute value.
Parse a fraction string.
Return the integer component (eg. 5/2 => 2).
Return the remainder component (eg. 5/2 => 1).
Set the numerator and denominator.
Simplify numerator and denominator using GCD.
Return string representation in mixed form.
Return a simplified string respresentation.
Return a raw string representation (eg. "5/2").
Return the value of the fraction.
GCD: Greatest common divisor using the Euclidean algorithm. Note: GCD(0, 0) => 0 and GCD(0, n) => n.
LCM: Lowest common multiple.
Lowest common multiple for more than two numbers.
Fraction represents a rational number.