src/Money.php
public function multipliedBy($that, int $roundingMode = RoundingMode::UNNECESSARY) : Money
    {
        $amount = $this->amount->toBigRational()->multipliedBy($that);

        return self::create($amount, $this->currency, $this->context, $roundingMode);
    }
public function multipliedBy($that, int $roundingMode = RoundingMode::UNNECESSARY) : Money
    {
        $amount = $this->amount->toBigRational()->multipliedBy($that);

        return self::create($amount, $this->currency, $this->context, $roundingMode);
    }
public function multipliedBy ( $ that , int $ roundingMode = RoundingMode :: UNNECESSARY ) : Money { $ amount = $ this -> amount -> toBigRational ( ) -> multipliedBy ( $ that ) ; return self :: create ( $ amount , $ this -> currency , $ this -> context , $ roundingMode ) ; }
Returns the product of this Money and the given number.

The resulting Money has the same context as this Money. If the result needs rounding to fit this context, a
rounding mode can be provided. If a rounding mode is not provided and rounding is necessary, an exception is
thrown.

@param BigNumber|number|string $that         The multiplier.
@param int                     $roundingMode An optional RoundingMode constant.

@return Money

@throws MathException If the argument is an invalid number or rounding is necessary.
Returns the product of this Money and the given number .