public function FractionInterface::subtract in Fraction 2.x
Same name and namespace in other branches
- 8 src/FractionInterface.php \Drupal\fraction\FractionInterface::subtract()
Subtracts another fraction from this one.
Parameters
Fraction $fraction: Another fraction object to subtract this one.
Return value
Fraction Returns this Fraction object.
1 method overrides FractionInterface::subtract()
- Fraction::subtract in src/
Fraction.php - Subtracts another fraction from this one.
File
- src/
FractionInterface.php, line 133
Class
- FractionInterface
- Defines the interface for Fraction class.
Namespace
Drupal\fractionCode
public function subtract(Fraction $fraction);