Packages / rupm

number-words-tools 0.1.0

Numbers to English words and back, cardinal and ordinal

Install

cargo add number-words-tools --registry rupm

In Ruststudio: Packages, search for number-words-tools, Install.

Owner: Rust Studio. Licence: MIT OR Apache-2.0. Total downloads: 0. Published 2026-11-22.

Versions

README

# number-words-tools

Numbers to English words and back, cardinal and ordinal

Add it with `rupm add number-words-tools` (or `cargo add number-words-tools --registry rupm`).

```rust
assert_eq!(number_words_tools::to_words(123), "one hundred twenty-three");
assert_eq!(number_words_tools::from_words("forty two"), Some(42));
```