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

#174 in Value formatting

Download history 140/week @ 2024-04-08 259/week @ 2024-04-15 204/week @ 2024-04-22 156/week @ 2024-04-29 191/week @ 2024-05-06 125/week @ 2024-05-13 181/week @ 2024-05-20 79/week @ 2024-05-27 179/week @ 2024-06-03 62/week @ 2024-06-10 331/week @ 2024-06-17 121/week @ 2024-06-24 140/week @ 2024-07-01 245/week @ 2024-07-08 135/week @ 2024-07-15 111/week @ 2024-07-22

633 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