//Microsoft Public License (Ms-PL)
//http://c4fdevkit.codeplex.com/license
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
namespace C4F.DevKit.WebServices
{
///
/// Provides useful methods like conversion methods.
///
public static class Utility
{
///
/// The Method converts the temperature in Fahrenheit to Celcius
///
/// Temperature in Fahrenheit
/// Temperature in Celcius
public static double FahrenheitToCelcius(double temperature)
{
return (5.0 / 9.0) * (temperature - 32);
}
}
}