#words #numbers #translate #russian

number-to-words-ru

Translate number into russian words

2 releases

0.1.1 Aug 3, 2023
0.1.0 Aug 1, 2023

#8 in #russian

MIT/Apache

14KB
228 lines

number-to-words-ru

How to use

Add crate to your project:

cargo add number-to-words

Then use:

let words = number_to_words(7_812_842);

println!("{words}");

output:

семь миллионов восемьсот двенадцать восемьсот сорок два

Limitations

  • Support value range: -999_999_999_999 - 999_999_999_999

Roadmap

  1. Support trillions

No runtime deps