i3status-rust
i3status-rust copied to clipboard
Equal numbers (eng.) can appear both with a decimal separator and w/o: 1000KB / 1.0MB
Follow-up to #1857. For a bit more detail, have a look there. I'll make it short:
Config (net block):
[[block]]
block = "net"
device = "enp5s0"
format = " ^icon_net_down $speed_down.eng(prefix:K, w:3) ^icon_net_up $speed_up.eng(prefix:K, w:3) "
interval = 5
Expected behavior: 1000KB will always be shown as 1.0MB.
Actual Behavior: 1000KB is sometimes displayed as 1000KB and sometimes as 1.0MB.
Additional Info: