MyApp.Cldr.Number.Format.default_grouping_for-exclamation-mark
You're seeing just the function
default_grouping_for-exclamation-mark
, go back to MyApp.Cldr.Number.Format module for more information.
Specs
default_grouping_for!(Cldr.LanguageTag.t() | Cldr.Locale.locale_name()) :: map() | no_return()
Returns the default grouping 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
grouping
as a map orraises an exception
Examples
iex> MyApp.Cldr.Number.Format.default_grouping_for!("en")
%{fraction: %{first: 0, rest: 0}, integer: %{first: 3, rest: 3}}