Skip to content

Feature request: Custom formatting #87

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
svenstaro opened this issue Mar 17, 2025 · 0 comments
Open

Feature request: Custom formatting #87

svenstaro opened this issue Mar 17, 2025 · 0 comments

Comments

@svenstaro
Copy link

svenstaro commented Mar 17, 2025

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.

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

No branches or pull requests

2 participants