Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Go to your Control Panel's Settings menu.
  2. Click the Currencies icon.
  3. On the page that follows, click the Create New button.
  4. Fill in the form that appears:

    • name - give the label to your currency
    • unit - insert a currency symbol
    • code - fill in a three-character currency code that is generally used to represent the currency you wish to add
    • separator - specify a character used to format decimal numbers, e.g 100.99.
    • delimiter - set a grouping character used to separate thousands, e.g: 100,000,000.
    • precision - specify the number of digits after the delimiterseparator. The precision parameter is used to display the costs total for a certain period, e.g. Outstanding amount, Total Cost, Payments.
    • precision per unit - the number of digits after the delimiterseparator. The precision per unit parameter is used to display the prices for the resources , e.g. for CPU, Disk size, RAM, IP, Data stores, Edge servers, Disks, Backups, Templates, etc.
    • format - set how the currency will be displayed in the control panel. Use the following parameters:
      • %n - for the digits
      • %u - for the currency symbol
  5. Click Save.

Note

For example, the currency form for US Dollars might look as follows…

  • Name: US Dollar
  • Unit: $
  • Code: USD
  • Separator: .
  • Delimiter: ,
  • Precision: 5
  • Precision per unit :8
  • Format: %n %u

…and the prices will be displayed in the following way: $7,000.00000

You can now set Precision and Precision per Unit to specify the number of digits used after the delimiterseparator. By default, Precision per Unit is set to 2.