public function divide($number = null)
    {
        if ($number === null) {
            $this->internalSetOperationModeWithHistory('divide');
        } elseif ($number instanceof Closure) {
            $this->internalSetOperationModeWithHistory('divide');
            return $this->group($number);
        } else {
            $this->performOperationOnExpressionEngine('divide', $number);
        }

        return $this;
    }
public function divide($number = null)
    {
        if ($number === null) {
            $this->internalSetOperationModeWithHistory('divide');
        } elseif ($number instanceof Closure) {
            $this->internalSetOperationModeWithHistory('divide');
            return $this->group($number);
        } else {
            $this->performOperationOnExpressionEngine('divide', $number);
        }

        return $this;
    }
public function divide ( $ number = null ) { if ( $ number === null ) { $ this -> internalSetOperationModeWithHistory ( 'divide' ) ; } elseif ( $ number instanceof Closure ) { $ this -> internalSetOperationModeWithHistory ( 'divide' ) ; return $ this -> group ( $ number ) ; } else { $ this -> performOperationOnExpressionEngine ( 'divide' , $ number ) ; } return $ this ; }
Divides the current value by a given number.

@param $number

@throws \Stillat\Common\Exceptions\Arithmetic\DivideByZeroException;
@return $this
Divides the current value by a given number .