FormatSizeDecimal() public static method

Format an amount of bytes to a more readible notation with decimal notation symbols
public static FormatSizeDecimal ( System.Int64 size ) : string
size System.Int64 Required. Int64. The raw amount of bytes
return string
Ejemplo n.º 1
0
 /// <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));
 }
Ejemplo n.º 2
0
 public static string FormatSizeDecimal(long size)
 {
     return(FileDownloader.FormatSizeDecimal(size, 2));
 }