[Math_ConvertEuro] converts an amount using the fixed exchange rate between a European Union member country's traditional currency and the Euro.
This tag can be used in two ways:
With a -EuroFrom parameter the tag converts the decimal parameter from the specified country's traditional currency to the Euro.
With a -EuroTo parameter the tag converts the decimal parameter from the Euro to the specified country's traditional currency.
The possible country codes and associated conversion rates are as follows. The conversion rate listed is the number of each currency for one Euro, e.g. 40.3399 Belgian Francs per Euro.
BEF Belgian Franc 40.3399
DEM German Mark 1.95583
ESP Spanish Peseta 166.386
FRF French Franc 6.55957
IEP Irish Pound 0.787564
ITL Italian Lire 1.93627
LUF Luxembourg Franc 40.3399
NLG Dutch Guilder 2.20371
ATS Austrian Schilling 13.7603
PTE Portuguese Escudo 200.482
FIM Finnish Mark 5.94573
Note: This tag cannot be used to perform conversions with any other countries. The values for the conversion rates are set to the fixed values that were established when the Euro was introduced.
[Math_ConvertEuro: Currency Amount, -EuroTo='Code']
[Math_ConvertEuro: Currency Amount, -EuroFrom='Code']
Use the [Math_ConvertEuro] tag. The following example, converts 100 French Francs into Euros and displays the result.
[Math_ConvertEuro: -EuroFrom='FRF', 100.00]
15.244902
Tag Link | [Math_ConvertEuro] | Category | Math |
---|---|---|---|
Type | Substitution | Data Source | Any |
Support | Preferred | Version | 5.0 |
Output Type | Decimal or Integer | Security | None |
Implementation | LDML | Sets | Lasso 7.0, Lasso 6.0, Lasso 5.0 |
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft