Cldr.Number.Format.Compiler.placeholder

You're seeing just the function placeholder, go back to Cldr.Number.Format.Compiler module for more information.

Specs

placeholder(
  :decimal
  | :group
  | :exponent
  | :exponent_sign
  | :plus
  | :minus
  | :currency
) :: String.t()

Returns a number placeholder symbol.

  • symbol is one of :decimal, group, :exponent, :plus, :minus, :currency

These symbols are used in decimal number format and are replaced with locale-specific characters during number formatting.

Example

iex> Cldr.Number.Format.Compiler.placeholder(:plus)
"+"