You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.
Current behavior
While using bytes pipe like this: {{ file.size | bytes:2 }}
it shows 2 decimals only if there are 2 decimals. If the file size is let's say 128kB it won't show "128.00 kB"
Expected behavior
Show trailing zeros if the number doesn't have enough decimals to show
What is the motivation / use case for changing the behavior?
Easier to read file sizes when the text is aligned to right.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Current behavior
While using bytes pipe like this:
{{ file.size | bytes:2 }}
it shows 2 decimals only if there are 2 decimals. If the file size is let's say 128kB it won't show "128.00 kB"
Expected behavior
Show trailing zeros if the number doesn't have enough decimals to show
What is the motivation / use case for changing the behavior?
Easier to read file sizes when the text is aligned to right.
The text was updated successfully, but these errors were encountered: