consolidate

merentha_fluffos_v2/lib/doc/man/sefuns/consolidate · 345 B

From the archive merentha_fluffos_v2.zip

Download the archive   « Back to the archive contents

Simulated External Functions

string consolidate(int, string);

When given an integer and a string, will return the plural form of the string for the given integer.

Examples:
  consolidate(2, "bear")   returns   "two bears"
  consolidate(1, "cat")    returns   "cat"
  consolidate(13, "dog")   returns   "many dogs"

file: /doc/sefun/numbers.c

Site Stats

Snippets: 1791
Codebases: 571