Files
ntext-rs/README.md
T
2021-03-09 00:26:12 +05:30

30 lines
606 B
Markdown

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