Template Variables: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Markkinchin (talk | contribs) |
||
| Line 376: | Line 376: | ||
[*] - will multiply the two numbers either side of the template variable | [*] - will multiply the two numbers either side of the template variable | ||
[/] - will divide the number left of the template variable by the number right | |||
[*.0] - will multiply the two numbers either side of the template variable and round to the nearest integer | [*.0] - will multiply the two numbers either side of the template variable and round to the nearest integer | ||
| Line 387: | Line 390: | ||
[*.4] - will multiply the two numbers either side of the template variable and round to 4 decimal places | [*.4] - will multiply the two numbers either side of the template variable and round to 4 decimal places | ||
[/.0] - will divide the number left of the template variable by the number right and round to the nearest integer | [/.0] - will divide the number left of the template variable by the number right and round to the nearest integer | ||
| Line 398: | Line 400: | ||
[/.4] - will divide the number left of the template variable by the number right and round to 4 decimal places | [/.4] - will divide the number left of the template variable by the number right and round to 4 decimal places | ||
[+.0] - will add the two numbers either side of the template variable and round to the nearest integer | |||
[+.1] - will add the two numbers either side of the template variable and round to 1 decimal place | |||
[+.2] - will add the two numbers either side of the template variable and round to 2 decimal places | |||
[+.3] - will add the two numbers either side of the template variable and round to 3 decimal places | |||
[+.4] - will add the two numbers either side of the template variable and round to 4 decimal places | |||
[-.0] - will subtract the number right of the template variable from the number left and round to the nearest integer | |||
[-.1] - will subtract the number right of the template variable from the number left and round to 1 decimal place | |||
[-.2] - will subtract the number right of the template variable from the number left and round to 2 decimal places | |||
[-.3] - will subtract the number right of the template variable from the number left and round to 3 decimal places | |||
[-.4] - will subtract the number right of the template variable from the number left and round to 4 decimal places | |||
[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. | ||