public static FormatSizeDecimal ( System.Int64 size ) : string | ||
size | System.Int64 | Required. Int64. The raw amount of bytes |
return | string |
/// <summary>Format an amount of bytes to a more readible notation with decimal notation symbols</summary> /// <param name="size">Required. Int64. The raw amount of bytes</param> public static string FormatSizeDecimal(Int64 size) { return(FileDownloader.FormatSizeDecimal(size, default_decimals)); }
public static string FormatSizeDecimal(long size) { return(FileDownloader.FormatSizeDecimal(size, 2)); }