mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 20:42:43 +00:00
The v1.4.37 W7c collapsed list view passed every value through `fmt.integer`, which kept the per-day step / activity aggregates correct but silently truncated single weight / body-fat / body-temperature readings — 78.4 kg rendered as "78 kg" on the desktop table and the mobile card grid. Grouped rows (`isGrouped === true`, the daily aggregate for cumulative HK types) keep `fmt.integer` because the underlying readings are integer-only by definition. Non-grouped single readings now use `fmt.number(value)` which honours up to three fraction digits without forcing a minimum, so 78 stays "78" and 78.4 renders as "78.4" / "78,4" depending on the active UI locale.