653648e3ce86aeb8085463b26f6b2d8a390938f0
ntext-rs
Documentation of ntext-rs generated by cargo doc.
A rust library to get numbers (usize) as words
12345 -> twelvethousandthreehundredfortyfive
Add to cargo.toml
[dependencies]
ntext = { git = "https://github.com/uttarayan21/ntext" }
Example program
extern crate ntext;
use ntext::to_text;
fn main() {
println!("{}",to_text!(12345));
}
which should output
twelvethousandthreehundredfortyfive
Check the documentation which has more examples and is usually up to date.
Description
Languages
Rust
100%