/** * @param int $scale * * @return string */ private function valueWithMinScale($scale) { $value = (string) $this->intVal; if (!$this->intVal->isZero() && $scale > $this->scale) { $value .= str_repeat('0', $scale - $this->scale); } return $value; }
/** * @param int $scale * * @return string */ private function valueWithMinScale($scale) { $value = (string) $this->intVal; if (!$this->intVal->isZero() && $scale > $this->scale) { $value .= str_repeat('0', $scale - $this->scale); } return $value; }