Fixed Issue 86.

This commit is contained in:
Michael Möller
2012-07-12 10:17:18 +00:00
parent 4026c56ba0
commit fc026664d3
5 changed files with 45 additions and 12 deletions

View File

@@ -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 <mmoeller@openhardwaremonitor.org>
Copyright (C) 2009-2012 Michael Möller <mmoeller@openhardwaremonitor.org>
*/
@@ -36,5 +36,9 @@ namespace OpenHardwareMonitor.GUI {
this.settings.SetValue("TemperatureUnit", (int)temperatureUnit);
}
}
public static float? CelsiusToFahrenheit(float? valueInCelsius) {
return valueInCelsius * 1.8f + 32;
}
}
}