Packages / rupm

rs-text-number-words 0.1.0

Numbers to English words and back, cardinal and ordinal

Install

cargo add rs-text-number-words --registry rupm

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

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

Versions

README

# rs-text-number-words

Numbers to English words and back, cardinal and ordinal

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

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