public function set($number)
    {
        $this->setCurrentValue($number);
        $this->currentOperation = 'add';
        $this->addToHistory('set', $number);
        return $this;
    }
public function set($number)
    {
        $this->setCurrentValue($number);
        $this->currentOperation = 'add';
        $this->addToHistory('set', $number);
        return $this;
    }
public function set ( $ number ) { $ this -> setCurrentValue ( $ number ) ; $ this -> currentOperation = 'add' ; $ this -> addToHistory ( 'set' , $ number ) ; return $ this ; }
Sets the current value.

@param $number

@return $this
Sets the current value .