User Tools

Site Tools


en:public:developer:template_system:tags:parameters:convertcurrency

This is an old revision of the document!


Table of Contents

ConvertCurrency

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.

Values

Value Description
From=xxx;To=yyy Convert the result from the currency xxx to the currency yyy

Example

<#MyCurrencyVar setValue="1">
<#MyCurrencyVar CurrencyConvert="From=USD;to=EUR">

Output:

0.75
en/public/developer/template_system/tags/parameters/convertcurrency.1359223082.txt.gz · Last modified: 2013/01/26 21:58 by admin