Changes

Jump to navigation Jump to search

Template Variables

258 bytes added, 11:31, 28 November 2016
no edit summary
[-.4] - will subtract the number right of the template variable from the number left and round to 4 decimal places
 
Note: The math functions will only work with numbers with a decimal point and no thousands separator and no currency symbol.
 
== Currency Conversion ==
[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.
If you use the multiplier to convert currencies for channels: NoteFor example hotel id 123456 and a multiplier to convert USD to EUR at todays rate: 123456*[CONVERT:USD-EUR]* or this to convert EUR to USD 123456*[CONVERT: The math functions will only work with numbers with a decimal point and no thousands separator and no currency symbol.EUR-USD]
== Custom Date Format Variables ==

Navigation menu