ASP.NET + C#
C# 格式化文件大
管理员 发表于2013-08-15 浏览3182 评论0
private static string[] units = { "B", "KB", "MB", "GB", "TB", "EB", "ZB", "YB" };
public static string FormatBytes(long bytes)
{
double db = bytes;
private static string[] units = { "B", "KB", "MB", "GB", "TB", "EB", "ZB", "YB" };
public static string FormatBytes(long bytes)
{
double db = bytes;