示例#1
0
 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);
     }
 }
示例#2
0
文件: CD.php 项目: hillstill/sooh
 /**
  * @return string
  */
 public function toString()
 {
     return \Sooh\Base\NumStr::encode($this->r, $this->define);
 }