Whole numbers can easily be specified with a custom format. Something like:

$week.power.sum.format("%.0f")

Unfortunately, use of thousands separators depends on the specified locale
and cannot be overridden. It really should be.





On Fri, Jul 18, 2025 at 3:59 PM 'Peter Fletcher' via weewx-development <
[email protected]> wrote:

> Is there a way in the relevant .inc files of overriding the default
> numeric formatting (which seems to be) defined by the group a data value is
> included in? The predefined power group appears to want to use one decimal
> place, and no thousands separator. Because of the magnitude of the numbers
> I am displaying, I would like to have whole numbers with a thousands
> separator. The customization section of the manual does not seem to address
> this particular aspect of customization.
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-development" 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-development/80308a49-183d-4592-8898-529890835d70n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-development/80308a49-183d-4592-8898-529890835d70n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" 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-development/CAPq0zEB22HO2XowQQzvrt%2BUsx%2BF_jgvm23ssYfuoVExDKbH-gQ%40mail.gmail.com.

Reply via email to