diff options
Diffstat (limited to 'dist/Locale-Maketext')
-rw-r--r-- | dist/Locale-Maketext/lib/Locale/Maketext.pod | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dist/Locale-Maketext/lib/Locale/Maketext.pod b/dist/Locale-Maketext/lib/Locale/Maketext.pod index 1d3fb2591a..3ef9c3a5a9 100644 --- a/dist/Locale-Maketext/lib/Locale/Maketext.pod +++ b/dist/Locale-Maketext/lib/Locale/Maketext.pod @@ -386,6 +386,14 @@ entirely. Note that numf is called by quant for stringifying all quantifying numbers. +=item $language->numerate($number, $singular, $plural, $negative) + +This returns the given noun form which is appropriate for the quantity +C<$number> according to this language's conventions. C<numerate> is +used internally by C<quant> to quantify nouns. Use it directly -- +usually from bracket notation -- to avoid C<quant>'s implicit call to +C<numf> and output of a numeric quantity. + =item $language->sprintf($format, @items) This is just a wrapper around Perl's normal C<sprintf> function. |