public function toNumStr() { if ($this->isDone) { return $this->maxForDone; } else { $this->dtNextTry = $this->dtNextTry + $this->arrSteps[$this->step] * $this->stepSize; return \Sooh\Base\NumStr::encode(array('dt' => $this->dtNextTry, 'step' => $this->step), $this->define); } }
/** * @return string */ public function toString() { return \Sooh\Base\NumStr::encode($this->r, $this->define); }