MetricFormatter
Centralized metric formatting for display strings. Eliminates duplicated formatString patterns across Node, NodeItem, and metric screens.
All methods return locale-independent strings using NumberFormatter (dot decimal separator), which is intentional for a mesh networking app where consistency matters.
Functions
Link copied to clipboard
Formats a received signal strength, or UNKNOWN_VALUE when the radio reported none. 0 dBm is a legitimate reading on some radios, so it must never stand in for a missing one.
Link copied to clipboard