StrictlySpeaking.say

You're seeing just the function say, go back to StrictlySpeaking module for more information.
Link to this function

say(number, language)

Accepts an integer and a language symbol. Returns a string containing human-readable representation of given number.

List of supported languages:

  • :ua - Ukrainian,
  • :en - English.

Raises an ArgumentError in case number is not an integer, or language is not among supported.

Examples

iex> StrictlySpeaking.say(7, :ua)
"сім"

iex> StrictlySpeaking.say(17, :en)
"seventeen"