Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. CalculatorInterface.php

function CalculatorInterface::multiply

Returns the product of all the provided parameters

Parameters

NumberInterface $multiplicand The integer to be multiplied:

NumberInterface ...$multipliers The factors by which to multiply the multiplicand:

Return value

NumberInterface The product of multiplying all the provided parameters

1 method overrides CalculatorInterface::multiply()
BrickMathCalculator::multiply in vendor/ramsey/uuid/src/Math/BrickMathCalculator.php
Returns the product of all the provided parameters

File

vendor/ramsey/uuid/src/Math/CalculatorInterface.php, line 56

Class

CalculatorInterface
A calculator performs arithmetic operations on numbers

Namespace

Ramsey\Uuid\Math

Code

public function multiply(NumberInterface $multiplicand, NumberInterface ...$multipliers) : NumberInterface;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal