EverFaker.Currency (ever_faker v0.1.0)
View SourceFunctions for generating currency related data
Summary
Functions
@spec code() :: String.t()
Returns a random currency code
Examples
iex> EverFaker.Currency.code()
"WST"
iex> EverFaker.Currency.code()
"UYU"
iex> EverFaker.Currency.code()
"CRC"
iex> EverFaker.Currency.code()
"DOP"
@spec symbol() :: String.t()
Returns a random currency symbol
Examples
iex> EverFaker.Currency.symbol()
"£"
iex> EverFaker.Currency.symbol()
"฿"
iex> EverFaker.Currency.symbol()
"ƒ"
iex> EverFaker.Currency.symbol()
"Rp"