Faker.Currency (Faker v0.16.0) View Source
Functions for generating currency related data
Link to this section Summary
Link to this section Functions
Specs
code() :: String.t()
Returns a random currency code
Examples
iex> Faker.Currency.code()
"WST"
iex> Faker.Currency.code()
"SYP"
iex> Faker.Currency.code()
"CRC"
iex> Faker.Currency.code()
"ALL"
Specs
symbol() :: String.t()
Returns a random currency symbol
Examples
iex> Faker.Currency.symbol()
"£"
iex> Faker.Currency.symbol()
"฿"
iex> Faker.Currency.symbol()
"ƒ"
iex> Faker.Currency.symbol()
"Rp"