Converts a numeric litaral into a human-readable format.
cargo build --release
will build the project. The program can be found under target/release/human
.
cargo run
will directly run the program.
The program human
will wait until you enter a numeric literal (and hit enter):
./human
123456
one hundred twenty three thousand, four hundred fifty six
This program only works (in a useful way) until 999 vigintillion (999 * 10^63). Anything greater than that is expressed as toolargeillion
. It also uses the short scale as commonly found in the (modern) English language.