/** * {@inheritdoc} */ public function toScale($scale, $roundingMode = RoundingMode::UNNECESSARY) { return $this->numerator->toBigDecimal()->dividedBy($this->denominator, $scale, $roundingMode); }