---
schema_version: "1"
id: 5c761050579a781a1c2f0f6580335f1877a116a61b5d2719aac3a17652780781
title: currency
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/sales/264-0-0/spiff_function_ref_currency.md
canonical_url: https://help.salesforce.com/s/articleView?id=sales.spiff_function_ref_currency.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 50b25d314093abbbf8e4312904c1e92f56e049643aa467cf9fd2e7ef31ad1e22
description: Converts a number of string into a specified currency in Salesforce Spiff.
products:
  - Sales Cloud
  - Sales Enablement
release: "264"
---
# currency

Converts a number of string into a specified currency in Salesforce Spiff.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: both Salesforce Classic (not available in all orgs) and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available for an additional cost in: <strong>Professional</strong> Edition with Web Services API Enabled</td></tr></tbody></table>

## Syntax

```
currency(number_or_string, currency_ISO_code)
```

## Arguments

  
| Argument | Required? | Description |
| --- | --- | --- |
| number\_or\_string | Required | The number of string to convert to currency. |
| currency\_ISO\_code | Required | The three-letter ISO code for the currency to convert to. Enclose the code in double quotes. |

## Considerations

This function is most useful for converting a single numerical value to a currency within a formula. Avoid using this function for designating that a field is currency or converting a currency field to a different currency.

## Example

Convert a number to USD.

```
=currency(100, "USD")
```