You are here

public function FractionInterface::setDenominator in Fraction 8

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

Sets the denominator.

Parameters

string|int $denominator: The denominator value.

Return value

Fraction Returns this Fraction object.

1 method overrides FractionInterface::setDenominator()
Fraction::setDenominator in src/Fraction.php
Sets the denominator.

File

src/FractionInterface.php, line 32

Class

FractionInterface
Defines the interface for Fraction class.

Namespace

Drupal\fraction

Code

public function setDenominator($denominator);