src/Money.php
public function multiply($multiplier, $roundingMode = self::ROUND_HALF_UP)
    {
        $this->assertOperand($multiplier);
        $this->assertRoundingMode($roundingMode);

        $product = $this->round($this->getCalculator()->multiply($this->amount, $multiplier), $roundingMode);

        return $this->newInstance($product);
    }
public function multiply($multiplier, $roundingMode = self::ROUND_HALF_UP)
    {
        $this->assertOperand($multiplier);
        $this->assertRoundingMode($roundingMode);

        $product = $this->round($this->getCalculator()->multiply($this->amount, $multiplier), $roundingMode);

        return $this->newInstance($product);
    }
public function multiply ( $ multiplier , $ roundingMode = self :: ROUND_HALF_UP ) { $ this -> assertOperand ( $ multiplier ) ; $ this -> assertRoundingMode ( $ roundingMode ) ; $ product = $ this -> round ( $ this -> getCalculator ( ) -> multiply ( $ this -> amount , $ multiplier ) , $ roundingMode ) ; return $ this -> newInstance ( $ product ) ; }
Returns a new Money object that represents
the multiplied value by the given factor.

@param float|int|string $multiplier
@param int              $roundingMode

@return Money
Returns a new Money object that represents the multiplied value by the given factor .