You could change the decimals in weewx.conf or skin.conf. In weewx.conf
look for the section [StdReport][[Defaults]][[[Units]]][[[[StringFormats]]]].
There look for the unit that is used for wind speed in your setup. There is
a string like "%.1f". You can change the decimals by changing the digit
there. You can do the same in skin.conf in section [Units][[StringFormats]].
If you want to change the decimals of a single value in your skin you can
add .format("%.2f"), where the digit is the amount of decimals, for
examaple $month.wind.max.format("%.2f").
Paul schrieb am Dienstag, 4. Februar 2025 um 23:42:58 UTC+1:
> Hi I currently have a problem where the NOAA report shows 51,5 km/h but
> the month.wind.max in the html version shows 51 km/h so it seems like
> either of them has a rounding problem. (depending if the value would be
> 51,49 or 51,52).
>
> So my question is how can I influence the rounding of month.wind.max?
> (I guess one problem is that the db uses imperial values and I guess there
> could be a problem in the conversion to the metric system for the theme,
> but I might be wrong)
>
> Thanks in advance,
> Paul
>
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/weewx-user/b674ed49-e635-461c-8bab-488c2e27229fn%40googlegroups.com.