Skip to content

Feature request: Custom formatting #87

Open
@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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions