diff -r 0a386ef7d5bb -r 1dfe9dac1651 GUI/UnitManager.cs --- a/GUI/UnitManager.cs Wed Jul 11 22:28:39 2012 +0000 +++ b/GUI/UnitManager.cs Thu Jul 12 10:17:18 2012 +0000 @@ -4,7 +4,7 @@ License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. - Copyright (C) 2009-2011 Michael Möller + Copyright (C) 2009-2012 Michael Möller */ @@ -36,5 +36,9 @@ this.settings.SetValue("TemperatureUnit", (int)temperatureUnit); } } + + public static float? CelsiusToFahrenheit(float? valueInCelsius) { + return valueInCelsius * 1.8f + 32; + } } }