public function multiply($number)
    {
        self::mustBeNumeric($number, 'Value to multiply');
        
        $number = is_object($number) ? $number->value : $number;
        
        return new self($this->value * $number);
    }
public function multiply($number)
    {
        self::mustBeNumeric($number, 'Value to multiply');
        
        $number = is_object($number) ? $number->value : $number;
        
        return new self($this->value * $number);
    }
public function multiply ( $ number ) { self :: mustBeNumeric ( $ number , 'Value to multiply' ) ; $ number = is_object ( $ number ) ? $ number -> value : $ number ; return new self ( $ this -> value * $ number ) ; }
Creates new N by multipling the current to the given one

@throw \InvalidArgumentException If argument is not N or numeric value.
@param  mixed $number N or numeric value
@return N
Creates new N by multipling the current to the given one