function CalculatorInterface::divide
Returns the quotient of the provided parameters divided left-to-right
Parameters
int $roundingMode The RoundingMode constant to use for this operation:
int $scale The scale to use for this operation:
NumberInterface $dividend The integer to be divided:
NumberInterface ...$divisors The integers to divide $dividend by, in: the order in which the division operations should take place (left-to-right)
Return value
NumberInterface The quotient of dividing the provided parameters left-to-right
1 method overrides CalculatorInterface::divide()
- BrickMathCalculator::divide in vendor/
ramsey/ uuid/ src/ Math/ BrickMathCalculator.php - Returns the quotient of the provided parameters divided left-to-right
File
-
vendor/
ramsey/ uuid/ src/ Math/ CalculatorInterface.php, line 70
Class
- CalculatorInterface
- A calculator performs arithmetic operations on numbers
Namespace
Ramsey\Uuid\MathCode
public function divide(int $roundingMode, int $scale, NumberInterface $dividend, NumberInterface ...$divisors) : NumberInterface;