function CalculatorInterface::subtract
Returns the difference of all the provided parameters
Parameters
NumberInterface $minuend The integer being subtracted from:
NumberInterface ...$subtrahends The integers to subtract from the minuend:
Return value
NumberInterface The difference after subtracting all parameters
1 method overrides CalculatorInterface::subtract()
- BrickMathCalculator::subtract in vendor/
ramsey/ uuid/ src/ Math/ BrickMathCalculator.php - Returns the difference of all the provided parameters
File
-
vendor/
ramsey/ uuid/ src/ Math/ CalculatorInterface.php, line 46
Class
- CalculatorInterface
- A calculator performs arithmetic operations on numbers
Namespace
Ramsey\Uuid\MathCode
public function subtract(NumberInterface $minuend, NumberInterface ...$subtrahends) : NumberInterface;