Template Variables: Difference between revisions
Jump to navigation
Jump to search
| Line 709: | Line 709: | ||
Rounding and controlling decimal places: | |||
[ | 2 [/] 3 = 0.66666666666667 | ||
2 [/.0] 3 = 1 | |||
2 [/.1] 3 = 0.7 | |||
2 [/.2] 3 = 0.67 | |||
2 [/.3] 3 = 0.667 | |||
2 [/.4] 3 = 0.6667 | |||
[-.0] - will multiply the two numbers either side of the template variable and round to the nearest integer | |||
[*.1] - will multiply the two numbers either side of the template variable and round to 1 decimal place | [*.1] - will multiply the two numbers either side of the template variable and round to 1 decimal place | ||