MyApp.Cldr.Currency.currencies_for_locale-exclamation-mark

You're seeing just the function currencies_for_locale-exclamation-mark, go back to MyApp.Cldr.Currency module for more information.
Link to this function

currencies_for_locale!(locale, only \\ :all, except \\ nil)

View Source

Returns a map of the metadata for all currencies for a given locale and raises on error.

Arguments

Returns

  • {:ok, currency_map} or

  • raises an exception

Example

MyApp.Cldr.Currency.currencies_for_locale! "en" => %{

FJD: %Cldr.Currency{
  cash_digits: 2,
  cash_rounding: 0,
  code: "FJD",
  count: %{one: "Fijian dollar", other: "Fijian dollars"},
  digits: 2,
  from: nil,
  iso_digits: 2,
  name: "Fijian Dollar",
  narrow_symbol: "$",
  rounding: 0,
  symbol: "FJD",
  tender: true,
  to: nil
},
SUR: %Cldr.Currency{
  cash_digits: 2,
  cash_rounding: 0,
  code: "SUR",
  count: %{one: "Soviet rouble", other: "Soviet roubles"},
  digits: 2,
  from: nil,
  iso_digits: nil,
  name: "Soviet Rouble",
  narrow_symbol: nil,
  rounding: 0,
  symbol: "SUR",
  tender: true,
  to: nil
},
...

}