6 releases (1 stable)

1.0.0 Jul 17, 2020
0.3.1 Jan 12, 2017
0.2.0 Jan 4, 2017
0.1.2 Sep 1, 2016
0.1.1 Feb 1, 2016

#183 in Value formatting

Download history 201/week @ 2024-07-27 142/week @ 2024-08-03 331/week @ 2024-08-10 200/week @ 2024-08-17 119/week @ 2024-08-24 130/week @ 2024-08-31 125/week @ 2024-09-07 206/week @ 2024-09-14 222/week @ 2024-09-21 165/week @ 2024-09-28 182/week @ 2024-10-05 123/week @ 2024-10-12 284/week @ 2024-10-19 119/week @ 2024-10-26 121/week @ 2024-11-02 83/week @ 2024-11-09

636 downloads per month
Used in 2 crates

MIT license

8KB
175 lines

Numeral

Rust library providing the written english form of a number.

Usage

extern crate numeral;

use numeral::Cardinal;

let n = 127;
println!("{} is written: {}", n, n.cardinal());

lib.rs:

A library providing the written english form of a number.

Example

use numeral::Cardinal;

let n = 127;
println!("{} is written {}", n, n.cardinal());

No runtime deps