syntax: [calc] EXPRESSION [/calc]
AUTOINTERPOLATE: Yes, can be turned off with INTERPOLATE=0
Starts a region where the arguments are calculated according to normal arithmetic symbols. For instance:
[calc] 2 + 2 [/calc]
will display:
4
The [calc] tag is really the same as the [perl] tag, except that it doesn't accept arguments, is more efficient to parse, and is interpolated at a higher precedence.
TIP: The [calc] tag will remember variable values inside one page, so you can do the equivalent of a memory store and memory recall for a loop.