Sitecore 5.1.1 API

MainUtil.FormatSize Method 

Formats a number into a size string.

[Visual Basic]
Public Shared Function FormatSize( _
   ByVal size As Long _
) As String
[C#]
public static string FormatSize(
   long size
);

Remarks

Size strings are "10 KB" or "2 MB".

See Also

MainUtil Class | Sitecore Namespace