Fix kPa decimal

yahoo_weather
Neroth 12 years ago
parent 7118dac0b3
commit f7c4aea4f3
  1. 2
      src/extension.js

@ -1101,7 +1101,7 @@ const WeatherMenuButton = new Lang.Class({
break;
case WeatherPressureUnits.kPa:
pressure = Math.round(this.toPascal(pressure,temperature)/1000);
pressure = Math.round(this.toPascal(pressure,temperature)/100)/10;
pressure_unit = "kPa";
break;

Loading…
Cancel
Save