public function next() { $this->value = (int) round(pow($this->start * (1 + $this->percentage / 100), $this->times)); $this->times++; }