small improvements

This commit is contained in:
fewieden
2018-12-27 17:13:49 +01:00
parent 63836185d9
commit ebee80d10e
2 changed files with 29 additions and 10 deletions

View File

@@ -27,7 +27,7 @@ class WeatherObject {
}
cardinalWindDirection () {
if (this.windDirection>11.25 && this.windDirection<=33.75){
if (this.windDirection > 11.25 && this.windDirection <= 33.75){
return "NNE";
} else if (this.windDirection > 33.75 && this.windDirection <= 56.25) {
return "NE";