french-numbers
Convert numbers into French words. Maximum supported figure is 999,999.
Installation
The latest release binaries can be downloaded here
Usage
Run the binary in the command line and pass a space-separated list of numbers
./french-numbers 0 1 3 100 92398 10288
0 => "zéro"
1 => "un"
3 => "trois"
100 => "cent"
92398 => "quatre-vingt-douze-mille-trois-cent-quatre-vingt-dix-huit"
10288 => "dix-mille-deux-cent-quatre-vingt-huit"
Dataset
./french-numbers 0 1 5 10 11 15 20 21 30 35 50 51 68 70 75 99 100 101 105 111 123 168 171 175 199 200 201 555 999 1000 1001 1111 1199 1234 1999 2000 2001 2020 2021 2345 9999 10000 11111 12345 123456 654321 999999
Building from source
Requirements
Debug build
To run the debug build, run cargo run -- [ARGS]
cargo run -- 4 20 80
Release binary
cargo build --release
Running the program
Simply execute the binary at target/release
and pass an array of numbers.
License
MIT