Expand description
Converts numbers into English words.
The short scale, has different words for each power of 1000.
This library expresses numbers from zero to thousands, millions, billions, trillions, and quadrillions, up to 999_999_999_999_999_999.
Copyright 2021, Jürgen Leschner - github.com/jldec - MIT license
Modules§
- extra
- Conditionally-compiled for historic reference.
To include in tests and benchmarks set RUSTFLAGS=“–cfg extra”
Functions§
- shortscale
- Returns String with words given an unsigned integer.
- shortscale_
string_ writer - Same as shortscale but writes words into mutable String.