[][src]Crate say_number

say-number says the number in English.

Using this library

Add the following to your Cargo.toml:

[dependencies]
say-number = "0.1"

Examples

println!("The number is {}.", say_number::say(42)); assert_eq!(say_number::say(2048), "two thousand and forty eight".to_string());

Functions

say

Says a number in English.