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:
@@ -175,7 +175,7 @@ namespace FlaxEditor.Windows.Profiler
|
||||
|
||||
private string FormatCellBytes(object x)
|
||||
{
|
||||
return Utilities.Utils.FormatBytesCount((int)x);
|
||||
return Utilities.Utils.FormatBytesCount((ulong)x);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
|
||||
Reference in New Issue
Block a user