english_numbers

Function convert

Source
pub fn convert(val: i64, fmt: Formatting) -> String
Expand description

Converts a number to it’s written format, using “short” format.

Arguments:

  • val: the i64 to convert
  • fmt: the formatting options to use