---
schema_version: "1"
id: 31cd0fe8bc7e9b91861c37412540856f2a3dbf4f8f9f2a7b334257e77942b53f
title: Omniscripts Currency Element
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_omniscripts_currency_element_16399.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_omniscripts_currency_element_16399.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 1f629ddce3ef8068964978e4545d0f266fa94e50d4d29565fc286d9c5def22de
description: Enable users to enter a currency amount by adding the Currency element to your Omniscript. Update default format options such as the number of decimal places to display, minimum and maximum currency value, and more.
products:
  - Omnistudio
release: "264"
---
# Omniscripts Currency Element

Enable users to enter a currency amount by adding the Currency element to your Omniscript. Update default format options such as the number of decimal places to display, minimum and maximum currency value, and more.

To override the default allowable format, select **Custom Mask** and enter a new mask in the **Format Override: Custom Mask** field. See [JavaScript Number Formatter](https://mottie.github.io/javascript-number-formatter/).

Currency masks require both a decimal separator and a thousands separator, with a different character for each. Separator choices are a whitespace, a comma, or a period.

Here are some examples:

- `#,###.##` — Commas separate the thousands, and a period separates the decimals, with 2 decimal places.
- `#.###,##` — Periods separate the thousands, and a comma separates the decimals, with 2 decimal places.
- `#,###.` — Commas separate the thousands, and a period separates the decimals, with no decimal places. For the mask to ignore decimal places, the period is required.
- `#,###` — Commas separate the thousands, but no decimal separator anchors where the decimal places begin. Therefore decimal places are promoted instead of ignored, and numbers are multiplied by 10 until they're at least four digits long.

In Formatting Options, configure other properties as needed.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio-264-0-0-production-enus/f526eaa8-ae05-487a-8944-4bb99b0b78ac/images/icon_note.png)

Note Omniscripts support all currency codes, but some currency symbols may not be shown correctly. For instance, the Somalian Shilling with the currency code SOS and symbol Sh.So. The currency itself works but instead of the symbol, the currency code is shown.

- In **Format Override: Decimal Places**, enter a number to change the default number of decimal places to display.
- In **Minimum Currency Value**, enter the minimum value that a user can enter, such as 1.
- In **Maximum Currency Value**, enter the maximum value that a user can enter, such as 10,000.
- If required, let users to enter negative values, such as **\-15**.
- If required, hide commas for values greater than three digits. For example, display 1000 instead of 1,000.
- Select **Show currency code** to display a currency code based on the logged-in user's locale. For example, if the user locale is en-US, the currency code is USD.
    
    For information on configuring multiple currencies, see [Manage Multiple Currencies](https://help.salesforce.com/articleView?id=admin_currency.htm&language=en_US).