We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
G3
N3
1 parent a687de3 commit cc0a223Copy full SHA for cc0a223
src/Converters/LongConverters.cs
@@ -10,12 +10,12 @@ public static class LongConverters
10
return $"{bytes:N0} B";
11
12
if (bytes < MB)
13
- return $"{(bytes / KB):N3} KB ({bytes:N0})";
+ return $"{(bytes / KB):G3} KB ({bytes:N0})";
14
15
if (bytes < GB)
16
- return $"{(bytes / MB):N3} MB ({bytes:N0})";
+ return $"{(bytes / MB):G3} MB ({bytes:N0})";
17
18
- return $"{(bytes / GB):N3} GB ({bytes:N0})";
+ return $"{(bytes / GB):G3} GB ({bytes:N0})";
19
});
20
21
private const double KB = 1024;
0 commit comments