Change cargo.toml and readme.md

This commit is contained in:
Uttarayan Mondal
2021-03-09 00:26:12 +05:30
parent cc82c47628
commit 1223252111
2 changed files with 8 additions and 5 deletions
+2 -4
View File
@@ -20,12 +20,10 @@ extern crate ntext;
use ntext::to_text;
fn main() {
println!("{}",to_text!(12345));
println!("{}",to_text!(12345," "));
}
```
which should output
`twelvethousandthreehundredfortyfive`
`twelve thousand three hundred forty five`
`twelvethousandthreehundredfortyfive`
I will probably add formatting the text later
Check the [documentation](https://uttarayan21.github.io/ntext-rs) which has more examples and is usually up to date.