library/Money/MoneyTrait.php
public function multiply($factor, $roundingMode = PHP_ROUND_HALF_UP)
    {
        if ($factor instanceof DecimalNumberInterface) {
            $factor = $factor->toFloat();
        }

        $this->amount = $this->toInt(
            round($factor * $this->amount, 0, $roundingMode)
        );
        return $this;
    }
public function multiply($factor, $roundingMode = PHP_ROUND_HALF_UP)
    {
        if ($factor instanceof DecimalNumberInterface) {
            $factor = $factor->toFloat();
        }

        $this->amount = $this->toInt(
            round($factor * $this->amount, 0, $roundingMode)
        );
        return $this;
    }
public function multiply ( $ factor , $ roundingMode = PHP_ROUND_HALF_UP ) { if ( $ factor instanceof DecimalNumberInterface ) { $ factor = $ factor -> toFloat ( ) ; } $ this -> amount = $ this -> toInt ( round ( $ factor * $ this -> amount , 0 , $ roundingMode ) ) ; return $ this ; }
Multiply the monetary value of this object by a given factor

@param  float|DecimalNumberInterface   $factor
@param  int $roundingMode
@return $this
Multiply the monetary value of this object by a given factor