Skip to content

Feature request: Custom formatting #87

@svenstaro

Description

@svenstaro

Hey, I have the need to format for fairly specific formatting. It'd be great if the library had custom formatting built-in. It would also already be a help if I could change the number of decimals.

It would also be convenient if I could choose a specific unit to output this as. Currently I can only to .as_u64() but ideally I could do .as_mb() or similar and then receive a u64 that's actually megabytes.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @svenstaro@robjtede

        Issue actions

          Feature request: Custom formatting · Issue #87 · bytesize-rs/bytesize