Number Names

build License codecov

Number names is a Rust library to provide formatted string names for cardinal and ordinal numbers.

At this time, only American English is supported, but there are future plans for i18n.

Example usage:

```rust use number_names::NumberName;

asserteq!(NumberName(10).cardinal(), "ten"); asserteq!(NumberName(10).ordinal(), "tenth"); ```

Contributing

As this is my first project in Rust, I'm sure there are significant improvements to be made in both the algorithms and implementation. I will gladly accept any constructive criticisms, suggestions or pull requests that make this small project more efficient or accurate.

Roadmap