Template Variables: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 466: Line 466:




[CONVERT:EUR-USD] - get the actual conversion rate between two currencies, this can be used with math functions to show alternative currency values. All currencies supported by the booking page currency selector can be used.


[CONVERT:EUR-USD] - get the actual conversion rate between two currencies, this can be used with math functions to show alternative currency values. All currencies supported by the booking page currency selector can be used.
Example: [INVOICECHARGESNUM] [*.2]  [CONVERT:EUR-USD] will convert the invoice charge value from Euros to USD with two decimal points.


  Note: The math functions will only work with numbers with a decimal point and no thousands separator and no currency symbol.
  Note: The math functions will only work with numbers with a decimal point and no thousands separator and no currency symbol.