/** * {@inheritdoc} */ public function toFloat() { return $this->numerator->toFloat() / $this->denominator->toFloat(); }