Skip to main content

quantify

Function quantify 

Source
pub fn quantify(count: i64, mode: QuantifyMode, lang: &dyn Language) -> String
Expand description

Produce a natural-language quantifier for count using the given mode. The language is used to spell out small numbers (“two”, “three”, …) via its number_to_words method.