ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
ShellBrowser.FormatByteSize

Formats the given value into a String that contains the size with the size unit.

Syntax
Pascal
function FormatByteSize(Value: Int64; KbOnly: Boolean = False): string;
Parameters 
Description 
Value: Int64 
The value that should be formatted.  
KbOnly: Boolean = False 
If True, the Value is formatted as KByte. If False, the appropriate unit is used.  

The formatted value as String.  

The formatted string including the unit.