Skip to content

Use correct data volume prefixes #12

@Garados007

Description

@Garados007

Currently, 1024 bytes are shown as 1 KB when 1 KiB is correct. KB is only correct if the conversion factor is 1000 and not 1024.

This implementation is calculating the IEC-prefix and displaying the SI-prefix.

More details: https://en.wikipedia.org/wiki/Byte#Multiple-byte_units

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions