Skip to content

Commit

Permalink
round temp and ws
Browse files Browse the repository at this point in the history
  • Loading branch information
brettedw committed Jul 3, 2024
1 parent 96041e1 commit f340374
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/src/api/moreCast2API.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,9 @@ export const marshalMoreCast2ForecastRecords = (forecasts: MoreCast2ForecastRow[
for_date: forecast.forDate.toMillis(),
precip: forecast.precip.value,
rh: forecast.rh.value,
temp: forecast.temp.value,
temp: Math.round(forecast.temp.value),
wind_direction: Math.round(forecast.windDirection.value),
wind_speed: forecast.windSpeed.value,
wind_speed: Math.round(forecast.windSpeed.value),
grass_curing: forecast.grassCuring.value
}
})
Expand Down

0 comments on commit f340374

Please sign in to comment.