Uttarayan Mondal 854d2da9eb Fix yaml formatting
2021-03-10 00:03:39 +05:30
2021-03-10 00:03:39 +05:30
2021-03-09 19:58:48 +05:30
2021-03-10 00:00:44 +05:30
2021-03-08 23:40:19 +05:30
2021-03-09 17:48:35 +05:30
2021-03-06 05:06:41 +05:30
2021-03-10 00:00:44 +05:30

ntext-rs

Documentation of ntext-rs generated by cargo doc.

A rust library to get numbers (usize) as words

12345 -> Twelve Thousand,Three Hundred,Forty-Five

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
Twelve Thousand,Three Hundred,Forty-Five

Check the documentation which has more examples and is usually up to date.

S
Description
A library to convert numbers to words in rust
Readme GPL-3.0 881 KiB
Languages
Rust 100%