[−][src]Function shortscale::shortscale
pub fn shortscale(num: u64) -> String
Returns String with words given an unsigned integer.
Supports positive integers from 0 to 999_999_999_999_999_999.
Larger values return "(big number)".
Example
use shortscale::shortscale; assert_eq!( shortscale(420_000_999_015), "four hundred and twenty billion nine hundred \ and ninety nine thousand and fifteen" );