[mythtv-commits] [MythTV/mythtv] 3b99d0: V2 services: improve formatting of float values

Peter Bennett noreply at github.com
Sun Oct 24 17:13:19 UTC 2021

  Branch: refs/heads/devel/http
  Home:   https://github.com/MythTV/mythtv
  Commit: 3b99d0a99411851b2ca527f8b64d2a8613736e70
  Author: Peter Bennett <pbennett at mythtv.org>
  Date:   2021-10-24 (Sun, 24 Oct 2021)

  Changed paths:
    M mythtv/libs/libmythbase/http/serialisers/mythxmlserialiser.cpp

  Log Message:
  V2 services: improve formatting of float values

Format float values with max 5 decimals and trim excess zeroes from the
end. This is to avoid long strings of random digits at the end of
values, especially the load averages from GetBackendStatus.

More information about the mythtv-commits mailing list