|
|
|||
[Package Index | Mudlib Index | Effect Index]File /secure/simul_efun/query_number.cCotains some simul_efuns to convert integers into textual numbers.Written by Pinkfish Method index
Public FunctionsThese are functions that everyone can access.. string number_as_string(int n)This method turns a number less than 100 into a string. This function should not be used. It will only work for numbers less than 100.
string query_num(int n,
int limit)
This method turns a number into a string. It returns a string of the
form "one hundred and twenty four". This function should be used and
not number_as_string below.
The limit argument is used to set the cut off point at which it will
print "many".
|
||||
|
Brought to you by CMOT Dibbler's Sensational Sausages; buy one while they're hot. |