/** * Determines if the Fraction is simplified. * * @return bool */ public function isSimplified() : bool { return $this->greatestCommonDivisor()->equals(Decimal::one()); }
/** * Determines if the Fraction is simplified. * * @return bool */ public function isSimplified() : bool { return $this->greatestCommonDivisor()->equals(Decimal::one()); }