Add improved FormatBytesCount to print large sizes in more detailed way
Instead of printing `2 GB` output `2.43 GB` to be more explicit. Deprecate version with `int` in favor of a single `ulong`.
This commit is contained in:
@@ -319,7 +319,7 @@ namespace FlaxEditor.Windows.Profiler
|
||||
|
||||
private static string FormatCellBytes(object x)
|
||||
{
|
||||
return Utilities.Utils.FormatBytesCount((int)x);
|
||||
return Utilities.Utils.FormatBytesCount((ulong)x);
|
||||
}
|
||||
|
||||
private static int SortRows(Control x, Control y)
|
||||
|
||||
Reference in New Issue
Block a user