You are here

public function FractionInterface::divide in Fraction 2.x

Same name and namespace in other branches
  1. 8 src/FractionInterface.php \Drupal\fraction\FractionInterface::divide()

Divides this fraction by another one.

Parameters

Fraction $fraction: Another fraction object to divide by.

Return value

Fraction Returns this Fraction object.

1 method overrides FractionInterface::divide()
Fraction::divide in src/Fraction.php
Divides this fraction by another one.

File

src/FractionInterface.php, line 155

Class

FractionInterface
Defines the interface for Fraction class.

Namespace

Drupal\fraction

Code

public function divide(Fraction $fraction);