MyApp.Cldr.Number.Format.minimum_grouping_digits_for-exclamation-mark
You're seeing just the function
minimum_grouping_digits_for-exclamation-mark
, go back to MyApp.Cldr.Number.Format module for more information.
Specs
minimum_grouping_digits_for!(Cldr.LanguageTag.t() | Cldr.Locale.locale_name()) :: non_neg_integer() | no_return()
Returns the minium grouping digits for a locale or raises on error.
Arguments
locale
is any valid locale name returned byMyApp.Cldr.known_locale_names/0
or aCldr.LanguageTag
struct returned byMyApp.Cldr.Locale.new!/1
. The default isMyApp.Cldr.get_locale/0
Returns
minumum_digits
orraises an exception
Examples
iex> MyApp.Cldr.Number.Format.minimum_grouping_digits_for!("en")
1