mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-10 10:20:41 -07:00
Added initial version
This commit is contained in:
commit
b452bd670c
13290 changed files with 1178433 additions and 0 deletions
12
dumps/scripts/940.cs2
Normal file
12
dumps/scripts/940.cs2
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
string script_940(int arg0) {
|
||||
if (arg0 < 0) {
|
||||
return "";
|
||||
}
|
||||
if (arg0 < 10000) {
|
||||
return intToStr(arg0);
|
||||
}
|
||||
if (arg0 < 10000000) {
|
||||
return concat(intToStr(divide(arg0, 1000)), "K");
|
||||
}
|
||||
return concat(intToStr(divide(arg0, 1000000)), "M");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue