Cldr.Number.Format.minimum_grouping_digits_for
You're seeing just the function
minimum_grouping_digits_for, go back to Cldr.Number.Format module for more information.
Specs
minimum_grouping_digits_for(Cldr.LanguageTag.t(), Cldr.backend()) :: {:ok, non_neg_integer()} | {:error, {module(), String.t()}}
Returns the minium grouping digits for a locale.
Arguments
localeis any valid locale name returned byCldr.known_locale_names/1or aCldr.LanguageTagstruct returned byCldr.Locale.new!/2. The default isCldr.get_locale/0backendis anyCldrbackend. That is, any module that containsuse Cldr
Returns
{:ok, minumum_digits}or{:error, {exception, message}}
Examples
iex> Cldr.Number.Format.minimum_grouping_digits_for("en", MyApp.Cldr)
{:ok, 1}