src/RationalMoney.php
public function multipliedBy($that) : RationalMoney
    {
        $amount = $this->amount->multipliedBy($that);

        return new self($amount, $this->currency);
    }
public function multipliedBy($that) : RationalMoney
    {
        $amount = $this->amount->multipliedBy($that);

        return new self($amount, $this->currency);
    }
public function multipliedBy ( $ that ) : RationalMoney { $ amount = $ this -> amount -> multipliedBy ( $ that ) ; return new self ( $ amount , $ this -> currency ) ; }
Returns the product of this RationalMoney and the given number.

@param BigNumber|number|string $that The multiplier.

@return RationalMoney

@throws MathException If the argument is not a valid number.
Returns the product of this RationalMoney and the given number .