countable
Generates a countable noun phrase — e.g. 'four just men' — in grammatically correct form.
Parameters
COUNT (string or number)
The input count. Specify singular or plural, or enter a number.
MODIFIER (string or list)
Optional. A string to precede the noun (e.g. 'large'). You can enter multiple modifiers as a list.
NOUN (string)
The input noun. This is inflected as per the COUNT value.
NUMBER FORMAT (string)
Optional. Handles number-to-word conversion. Options:
Enter an integer. If the COUNT value is <= this value, it is spelled out.
wordsOnly — all numbers are spelled out.
digitsOnly — no numbers are spelled out.
Default: Spell out numbers <= 10
ZERO FORMAT (string)
Optional. How to express 0 in words. Options: zero, no, or a string of your choice (e.g. 'zilch').
Default: zero.
Examples
ATL in Script | Result |
---|---|
| One cold beer |
| Five cold beers |
| 5 cold beers |
| 20 cold beers |
| Twenty cold beers |
| 0 cold beers |
| No cold beers |
| Prized and sought-after whisky |
| Prized and sought-after whiskies |
| Ten cheap, ghastly and undrinkable wines |