mul(new CustomUnit( 9/5, $unit ))->add(new CustomUnit( 32, $unit )); case self::UNIT_KELVIN: return $this->add(new CustomUnit( 273.15, $unit )); } } /** * Return the ⁰X symbol */ public function getDegree(): string { return sprintf("⁰%s", strtoupper(substr($this->getUnit(), 0, 1))); } }