public function divide($number)
    {
        if (Number::isZero($number)) {
            throw new DivisionByZeroException;
        }

        $this->number = $this->number / $number;

        return $this;
    }
public function divide($number)
    {
        if (Number::isZero($number)) {
            throw new DivisionByZeroException;
        }

        $this->number = $this->number / $number;

        return $this;
    }
public function divide ( $ number ) { if ( Number :: isZero ( $ number ) ) { throw new DivisionByZeroException ; } $ this -> number = $ this -> number / $ number ; return $ this ; }
Divide a value

@param int|float $number The number

@throws DivisionByZeroException
@return Calculate
Divide a value