[][src]Function say_number::french::say

pub fn say(n: u64) -> String

Says a number in French.

The rules for saying numbers are from Wikipedia and follow the 1990 orthography. If you find any deviations from those rules, please file a bug report.

Examples

assert_eq!(say_number::french::say(416), "quatre-cent-seize".to_string());
assert_eq!(say_number::french::say(514), "cinq-cent-quatorze".to_string());