change wind_chill to decimal

This commit is contained in:
Marko Oldenburg 2022-12-14 21:35:21 +01:00
parent 7875522849
commit 6611390059

View File

@ -397,10 +397,8 @@ sub _ProcessingRetrieveData($$) {
'temperature' =>
sprintf( "%.1f", $data->{$unit}{temp} ),
'temp_c' => sprintf( "%.1f", $data->{$unit}{temp} ),
'wind_chill' => int(
sprintf( "%.1f", ( $data->{$unit}{windChill} ) ) +
0.5
),
'wind_chill' =>
sprintf( "%.1f", ( $data->{$unit}{windChill} ) ),
'windGust' => int(
sprintf( "%.1f", ( $data->{$unit}{windGust} ) ) +
0.5