Magik.Formatter.format_currency

You're seeing just the function format_currency, go back to Magik.Formatter module for more information.
Link to this function

format_currency(number, opts \\ [])

Format currency value to thousand separated string

Parameters

  • number: integer number
  • opts: list of format options
    • thousand_separator: thousand separator character. Default is ,
    • currency: currency character. Default is "đ"

Example

iex> Magik.Formatter.format_currency("1232321", thousand_separator: ".", currency: "$") 1.232.321$