mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-30 12:23:39 +01:00
chore: always display 2 decimal places when formatting bytes (#989)
This commit is contained in:
parent
73a7db56e2
commit
877f242ac8
1 changed files with 1 additions and 1 deletions
|
|
@ -403,7 +403,7 @@ namespace Dalamud.Utility
|
||||||
dblSByte = bytes / 1024.0;
|
dblSByte = bytes / 1024.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $"{dblSByte:0.##} {suffix[i]}";
|
return $"{dblSByte:0.00} {suffix[i]}";
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue