• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 xen:calc documentation

RichardKYA

Well-known member
#1
Hello,

I was looking for some documentation on xen:calc, but couldn't find anything.

Is there any anywhere? If so, could someone point me to it please and thank you :)
 

Chris D

XenForo developer
Staff member
#3
Not sure much documentation is required.

It receives a calculation and returns the result of that calculation.

Code:
{xen:calc '6 + 6 / 3'}
Returns: 4

For more complex stuff, Brogan just beat me to that ;)