Skip to main content

french_amount_words/
lib.rs

1#![doc = include_str!("../README.md")]
2
3mod error;
4mod euro;
5mod number;
6
7pub use error::AmountWordsError;
8pub use euro::euro_amount_to_words;
9pub use number::number_to_words;
10
11/// Largest value that can be spelled out: "neuf cent quatre-vingt-dix-neuf milliards…".
12pub const MAX_VALUE: u64 = 999_999_999_999;
13
14#[cfg(test)]
15mod test_support;
16#[cfg(test)]
17mod tests;