You are here

public function FractionInterface::reduce in Fraction 8

Same name and namespace in other branches
  1. 2.x src/FractionInterface.php \Drupal\fraction\FractionInterface::reduce()

Reduces the fraction to its simplest form.

Return value

Fraction Returns this Fraction object.

1 method overrides FractionInterface::reduce()
Fraction::reduce in src/Fraction.php
Reduces the fraction to its simplest form.

File

src/FractionInterface.php, line 117

Class

FractionInterface
Defines the interface for Fraction class.

Namespace

Drupal\fraction

Code

public function reduce();