change pressure value to decimal

This commit is contained in:
Marko Oldenburg 2022-12-14 20:42:07 +01:00
parent 84915674a8
commit 7875522849

View File

@ -392,9 +392,8 @@ sub _ProcessingRetrieveData($$) {
'heatIndex' => $data->{$unit}{heatIndex},
'precipRate' => $data->{$unit}{precipRate},
'precipTotal' => $data->{$unit}{precipTotal},
'pressure' => int(
sprintf( "%.1f", $data->{$unit}{pressure} ) + 0.5
),
'pressure' =>
sprintf( "%.1f", $data->{$unit}{pressure} ),
'temperature' =>
sprintf( "%.1f", $data->{$unit}{temp} ),
'temp_c' => sprintf( "%.1f", $data->{$unit}{temp} ),