Magik.Formatter.format_currency
You're seeing just the function
format_currency
, go back to Magik.Formatter module for more information.
Format currency value to thousand separated string
Parameters
number
: integer numberopts
: list of format optionsthousand_separator
: thousand separator character. Default is,
currency
: currency character. Default is "đ"
Example
iex> Magik.Formatter.format_currency("1232321", thousand_separator: ".", currency: "$") 1.232.321$