Configuring Currency Format

Billing allows customizing currency format on per language basis. We strongly recommend creating a separate dictionary volume for customization to avoid loss of changes during Billing upgrades.

Billing provides the following key words for configuring currency format:

  • "&decimal_point" "." – defines symbol used as decimal point in sums of money, default value is dot.
  • "&thousands_separator" "," – defines symbol used as thousands separator in sums of money, default value is comma.
  • "&negative_currency_color" "red" – defines color of negative sums of money. Allowed values are HTML color codes, default value is the red color.
  • "&<currency_code>_symbol" "* <currency_code>" – defines currency symbol and its place in relation to a sum of money. Namely, if currency symbol occupies * place, then it is displayed as prefix. If currency symbol occupies <currency_code> place, then it is displayed as postfix. For example, let's consider USD currency:

    • "&USD_symbol" "$ " – this locale entry makes the USD currency symbol displayed as prefix – $456.67;
    • "&USD_symbol" "* $" – this locale entry makes the USD currency symbol displayed as postfix – 456.67$;