30fd91650d0c764781ca9bca057e2bf32b73525d
ntext
A rust library to get numbers (u32) as words
12345 -> twelvethousandthreehundredfortyfive
81123 -> eightyonethousandonehundredtwentythree
12 -> twelve
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
I will probably add formatting the text later
Description
Languages
Rust
100%