/** * Returns a BigDecimal whose value is (-$this), and whose scale is $this->scale(). * * @return BigDecimal */ public function negate() { return new self($this->intVal->negate(), $this->scale); }
/** * Returns a BigDecimal whose value is (-$this), and whose scale is $this->scale(). * * @return BigDecimal */ public function negate() { return new self($this->intVal->negate(), $this->scale); }