mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-09 16:45:44 -07:00
12 lines
257 B
Text
12 lines
257 B
Text
string script_20(int arg0) {
|
|
if (arg0 >= 99999999) {
|
|
return "*";
|
|
}
|
|
if (arg0 >= 10000000) {
|
|
return concat(intToStr(divide(arg0, 1000000)), "M");
|
|
}
|
|
if (arg0 >= 10000) {
|
|
return concat(intToStr(divide(arg0, 1000)), "K");
|
|
}
|
|
return intToStr(arg0);
|
|
}
|