From 4edb96350291fdc4a9744a1dd7bd3b87d8f88006 Mon Sep 17 00:00:00 2001 From: Star Brilliant Date: Thu, 14 Feb 2013 12:32:00 +0800 Subject: [PATCH] Change 'x*0.555556' to 'x/1.8' --- src/extension.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extension.js b/src/extension.js index 91a8f4a..9ad54c0 100644 --- a/src/extension.js +++ b/src/extension.js @@ -836,7 +836,7 @@ const WeatherMenuButton = new Lang.Class({ toCelsius: function(t) { - return String(Math.round((Number(t)-32)*0.555556)); + return String(Math.round((Number(t)-32)/1.8)); }, toKelvin: function(t)