v0.4.0
Pre-release
Pre-release
What's new?
- Addition of languages preferences
Example:
use num2words::*;
fn print_game_score(home_score: i64, away_score: i64) -> Result<(), Num2Err> {
println!(
"{} - {}",
Num2Words::new(home_score).prefer("nil").to_words()?,
Num2Words::new(away_score).prefer("nil").to_words()?
);
Ok(())
}
- Add default currency names and ability to have different ways to write cents
- Binary now shows the version of the program in words
Full change log
Here is the full change log.