# Class: com.pnfsoftware.jeb.util.format.PluralFormatter

A trivial text formatter that takes quantities into account to produce singular\-form or plural\-form tokens.

## Constructor: PluralFormatter


## Static Method: count
- parameter: `cnt`, type: `java.lang.Number`
- parameter: `value`, type: `java.lang.String`
- parameter: `valuePlural`, type: `java.lang.String`
- return type: `java.lang.String`

Description: Produce the singular or plural form of a token based on a provided count.
parameter: cnt: count
parameter: value: singular token
parameter: valuePlural: plural token \(optional\)
return: the resulting string

## Static Method: countS
- parameter: `cnt`, type: `java.lang.Number`
- parameter: `value`, type: `java.lang.String`
- return type: `java.lang.String`

Description: A specialized, best\-effort, and approximate version of [count](#count(Number, String, String)) that assumes that the plural form of a provided singular English token is created by appending '\-s' \(or a variant, such as '\-es' \) to the singular token.
parameter: cnt: count
parameter: value: singular token
return: the resulting string

