diff --git a/js/weather/weather.js b/js/weather/weather.js index f7b3c3de..391bc9be 100644 --- a/js/weather/weather.js +++ b/js/weather/weather.js @@ -35,7 +35,7 @@ var weather = { } weather.roundValue = function (temperature) { - return Math.round(temperature * 10) / 10; + return parseFloat(temperature).toFixed(1); } weather.kmh2Beaufort = function(kmh) {