function BrickMathCalculator::getBrickRoundingMode
Maps ramsey/uuid rounding modes to those used by brick/math
Return value
BrickMathRounding::*
1 call to BrickMathCalculator::getBrickRoundingMode()
- 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/ BrickMathCalculator.php, line 142
Class
- BrickMathCalculator
- A calculator using the brick/math library for arbitrary-precision arithmetic
Namespace
Ramsey\Uuid\MathCode
private function getBrickRoundingMode(int $roundingMode) {
return self::ROUNDING_MODE_MAP[$roundingMode] ?? BrickMathRounding::UNNECESSARY;
}