NAME

query_num

SYNOPSIS

string query_num(int, int default:0);

DESCRIPTION

english only!!!
converts 1st into a string representation
2nd int is limit above which 1st int is "many"
1st int > 99,999 is always "many", the same for <0 (<- huh???)

query_num(99999):
"ninetynine thousend nine hundred and ninetynine"

query_num(99999, 50):
"many"

query_num(-99999):
"many" ????

SEE ALSO

pluralize(3)
Improve this page

Every page on this site is maintained by user like you!

Edit On Github