Added more byte options

This commit is contained in:
CakeAndBanana
2025-09-29 23:19:02 +02:00
parent 7d6d500e6a
commit 8a9d4b8daa

View File

@@ -173,7 +173,7 @@ public partial class UiSharedService : DisposableMediatorSubscriberBase
public static string ByteToString(long bytes, bool addSuffix = true)
{
string[] suffix = { "B", "KB", "MB", "GB", "TB" };
string[] suffix = { "B", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"};
int i = 0;
double dblSByte = bytes;