currencies v0.5.1 Currencies.Currency

A struct that keeps information about the currency.

It contains the following fields:

  • :code - the currency code
  • :name - the name of the curency
  • :symbol - the displayable currency symbol
  • :iso_numeric - the iso numeric value of the currency
  • :disambiguate_symbol - the value used to distinguish currency between other currencies having the same
  • common name. This returns A$ and S$ to distinguish between AUD and SGD.
  • :alternate_symbols - the other symbols used to represent the currency. This returns lev”, “leva”, “лев” and
  • “лева” for BGN.
  • :representations - contains html and unicode decimal representations for the currency symbol
  • :minor_unit - contains sub-init or minor unit information about the currency
  • :central_bank - contains information about the central bank governing the currency
  • :nicknames - contains nicknames for the currency
  • :users - contains places or countries using the currency

Summary

Types

t :: %Currencies.Currency{alternate_symbols: [String.t], central_bank: Currencies.CentralBank.t, code: String.t, disambiguate_symbol: String.t, iso_numeric: String.t, minor_unit: Currencies.MinorUnit.t, name: String.t, nicknames: [String.t], representations: Currencies.Representations.t, symbol: String.t, users: [String.t]}