You are here:
currency
Converts a number of string into a specified currency in Salesforce Spiff.
Required Editions
| Available in: both Salesforce Classic (not available in all orgs) and Lightning Experience |
| Available in: Enterprise, Unlimited, and Developer Editions |
| Available for an additional cost in: Professional Edition with Web Services API Enabled |
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")Did this article solve your issue?
Let us know so we can improve!

