code: public function to(Uom $uom)
      {
          // Get the conversion factor as a Fraction
          $conversionFactor = Uom::getConversionFactor(
              $this->getUom(),
              $uom
          );
  
          // Multiply the amount by the conversion factor and create a new
          // Weight with the new Unit
          return new static(
              $this->getAmount()->multiply($conversionFactor),
              $uom
          );
      }
docs: Convert this Weight to a new Unit
  
  @author Tom Haskins-Vaughan <tom@tomhv.uk>
  @since  0.3.0
  
  @param Uom $uom
  
  @return mixed