Convert the result of a called function (or var) from one currency to another currency. If the result is empty, no operation is done. If the result is not a numeric field, an error is raised.
NOTE: By default the resulting content and the content of the parameter “ConvertCurrency” will be parsed (all <#..> tags will be evaluated) before to apply this filter. You can control this behavior throught the parameter AnalyzeTagParams
Value | Description |
---|---|
From=xxx;To=yyy | Convert the result from the currency xxx to the currency yyy |
<#MyCurrencyVar setValue="1"> <#MyCurrencyVar CurrencyConvert="From=USD;to=EUR">
Output (with a rate of 1 USD = 0.75 EUR):
0.75