mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-08-03 15:27:13 -04:00
Merge pull request #1624
This commit is contained in:
commit
bf78c18296
@ -16,8 +16,13 @@ namespace
|
|||||||
{
|
{
|
||||||
if (count == 1)
|
if (count == 1)
|
||||||
return "";
|
return "";
|
||||||
if (count > 9999)
|
|
||||||
return MyGUI::utility::toString(int(count/1000.f)) + "k";
|
if (count > 999999999)
|
||||||
|
return MyGUI::utility::toString(count/1000000000) + "b";
|
||||||
|
else if (count > 999999)
|
||||||
|
return MyGUI::utility::toString(count/1000000) + "m";
|
||||||
|
else if (count > 9999)
|
||||||
|
return MyGUI::utility::toString(count/1000) + "k";
|
||||||
else
|
else
|
||||||
return MyGUI::utility::toString(count);
|
return MyGUI::utility::toString(count);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user