MyApp.Cldr.Number.Format.all_formats_for

You're seeing just the function all_formats_for, go back to MyApp.Cldr.Number.Format module for more information.
Link to this function

all_formats_for(locale \\ MyApp.Cldr.get_locale())

View Source

Specs

all_formats_for(Cldr.LanguageTag.t() | Cldr.Locale.locale_name()) ::
  {:ok, map()} | {:error, {module(), String.t()}}

Returns the decimal formats defined for a given locale.

Arguments

Returns

  • {:ok, map} where map is a map of decimal formats keyed by number system or

  • {:error, {exception, message}}