Skip to content

v0.4.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@Ballasi Ballasi released this 31 Mar 00:25
· 30 commits to master since this release
ffdfffc

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.