using System;


namespace MetricFunctions
{

public class MetricConverter
{
  const double KilometersPerMile = 1.609347;
  const double KilogramsPerPound = 0.4535924;

  public static double FahrenheitToCentigrade(double v)
  {
	  return ((v-32)/9)*5;
  }
  public static double CentigradeToFahrenheit(double v)
  {
	  return (v*9)/5+32;
  }
  public static double MilesToKilometers(double v)
  {
	  return v*KilometersPerMile;
  }
  public static double KilometersToMiles(double v)
  {
	  return v/KilometersPerMile;
  }
  public static double PoundsToKilograms(double v)
  {
	  return v*KilogramsPerPound;
  }
  public static double KilogramsToPounds(double v)
  {
	  return v/KilogramsPerPound;
  }
}

}
