Skip to content

Equal numbers (eng.) can appear both with a decimal separator and w/o: 1000KB / 1.0MB #2081

Open
@dorsiflexion

Description

@dorsiflexion

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:
1
2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions