CurrencyValue
Returns the currency amount of a currency value. A currency value is a combination of the currency amount and the currency code, such as 3 USD.
|
Syntax
CurrencyValue(currencyValue)
Enabled for
Search/Dashboard | Yes |
Business Rules | Yes |
Quick Actions | Yes |
Workflow Objects | Yes |
Reports | No |
Parameter
currencyValue | The currency value (a combination of the currency amount and the currency code, such as 3 USD) from which to extract the currency amount. |
Return Value
Number value. Returns the currency amount of the currency value that was input.
Examples
$(CurrencyValue(44.2HKD)
The example above returns "44.2", which is the currency amount of the input.
$(CurrencyValue(Component_Cost)
If Component_Cost is the name of a field that contains a currency value, this example returns the currency amount of that field. If the Component_Cost field contains "24 USD", this example returns "24".