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
I'm wondering, how many numbers would you like to have displayed? There's not much control over the formatting, the PSFormatForDisplay function is used and it returns a formatted value according to the current locale, the language of the user, and other factors. Pretty much the only formatting option for file sizes that I see is PDFF_ALWAYSKB (Byte sizes are always displayed in KB, regardless of size).
I could format the size manually instead, but then, how far should I go? Should I support both periods and commas? Should I provide a way to set custom names for bytes, KB, GB, or use the user's language and locale? etc.
I could also adjust the formatted string. In this case, the code needs to be familiar with the possible formatted results, which can be different depending on the different environment conditions.
Plugin: Better file sizes in Explorer details by @m417z
I'd like to see the ability to change how many numbers are displayed after the decimal point.
The text was updated successfully, but these errors were encountered: